Updating all pxt.microbit.org reference to makecode.microbit.org (#460)
This commit is contained in:
parent
b3e5e41dbc
commit
5c82a0fcc6
@ -3,7 +3,7 @@
|
||||
This target allow to program a [BBC micro:bit](https://microbit.org/) using
|
||||
PXT ([Microsoft Programming Experience Toolkit](https://github.com/Microsoft/pxt)).
|
||||
|
||||
* [Try it live](https://pxt.microbit.org)
|
||||
* [Try it live](@homeurl@)
|
||||
|
||||
[![Build Status](https://travis-ci.org/Microsoft/pxt-microbit.svg?branch=master)](https://travis-ci.org/Microsoft/pxt-microbit)
|
||||
|
||||
|
@ -40,7 +40,7 @@ function findNewDevices() {
|
||||
function main() {
|
||||
// Register new clients in the [ports] global variable.
|
||||
chrome.runtime.onConnectExternal.addListener(function (port) {
|
||||
if (/^(micro:bit|touchdevelop|yelm|pxt|codemicrobit|codethemicrobit|pxt.microbit.org)$/.test(port.name)) {
|
||||
if (/^(micro:bit|touchdevelop|yelm|pxt|codemicrobit|codethemicrobit|pxt.microbit.org|makecode)$/.test(port.name)) {
|
||||
ports.push(port);
|
||||
port.onDisconnect.addListener(function () {
|
||||
ports = ports.filter(function (x) { return x != port; });
|
||||
|
@ -6,13 +6,13 @@
|
||||
},
|
||||
|
||||
"manifest_version": 2,
|
||||
"name": "pxt.microbit.org",
|
||||
"name": "makecode.microbit.org",
|
||||
"version": "0.7.0",
|
||||
"author": "Microsoft Corporation",
|
||||
"short_name": "pxt.microbit.org",
|
||||
"short_name": "makecode.microbit.org",
|
||||
|
||||
"description": "Extension for https://pxt.microbit.org.",
|
||||
"homepage_url": "https://pxt.microbit.org",
|
||||
"description": "Extension for https://makecode.microbit.org.",
|
||||
"homepage_url": "https://makecode.microbit.org",
|
||||
"offline_enabled": "true",
|
||||
"icons": {
|
||||
"48": "logo48.png",
|
||||
@ -25,6 +25,6 @@
|
||||
],
|
||||
|
||||
"externally_connectable": {
|
||||
"matches": [ "*://localhost/*", "https://pxt.microbit.org/*", "https://*.microbit.org/*" ]
|
||||
"matches": [ "*://localhost/*", "https://makecode.microbit.org/*", "https://*.microbit.org/*" ]
|
||||
}
|
||||
}
|
||||
|
@ -124,7 +124,7 @@
|
||||
}
|
||||
|
||||
- (void)launchEditor:(id)sender {
|
||||
[[NSWorkspace sharedWorkspace] openURL:[NSURL URLWithString:@"https://pxt.microbit.org/"]];
|
||||
[[NSWorkspace sharedWorkspace] openURL:[NSURL URLWithString:@"https://makecode.microbit.org/"]];
|
||||
}
|
||||
|
||||
@end
|
||||
|
@ -3,10 +3,10 @@
|
||||
![](Microbit Uploader/Assets.xcassets/AppIcon.appiconset/icon_256x256.png)
|
||||
|
||||
This project is a clone of the [Windows
|
||||
uploader](https://pxt.microbit.org/uploader), but for OS X. Once launched,
|
||||
uploader](https://makecode.microbit.org/uploader), but for OS X. Once launched,
|
||||
the app runs in your menu bar and will automatically deploy any HEX files to
|
||||
your `@boardname@`. Like the Windows version, it is compatible with any browser
|
||||
that can run [pxt.microbit.org](http://pxt.microbit.org).
|
||||
that can run @homeurl@.
|
||||
|
||||
## Install the built version
|
||||
|
||||
|
@ -32,7 +32,7 @@ namespace Microsoft.MicroBit
|
||||
private void openEditor()
|
||||
{
|
||||
// lanch editor
|
||||
try { Process.Start("https://pxt.microbit.org#uploader"); } catch (Exception) { }
|
||||
try { Process.Start("https://makecode.microbit.org#uploader"); } catch (Exception) { }
|
||||
}
|
||||
|
||||
private void initializeFileWatch()
|
||||
@ -236,7 +236,7 @@ namespace Microsoft.MicroBit
|
||||
{
|
||||
try
|
||||
{
|
||||
Process.Start("https://pxt.microbit.org/uploader");
|
||||
Process.Start("https://makecode.microbit.org/uploader");
|
||||
}
|
||||
catch (IOException) { }
|
||||
}
|
||||
|
@ -88,7 +88,7 @@ When code is compiled to ARM machine code, the calls to JavaScript micro:bit fun
|
||||
|
||||
## [Command Line Tools](/cli)
|
||||
|
||||
Looking to use pxt.microbit.org in your favorite editor? Install the [command line tools](/cli) and get rolling!
|
||||
Looking to use @homeurl@ in your favorite editor? Install the [command line tools](/cli) and get rolling!
|
||||
|
||||
## [Packages](/packages)
|
||||
|
||||
|
@ -29,7 +29,7 @@ Unfortunately, using the serial library requires quite a bit of a setup.
|
||||
If you are using the Google Chrome browser, you can use our extension to get serial data streaming in the editor.
|
||||
|
||||
* Install the [Extension for BBC micro:bit](https://chrome.google.com/webstore/detail/extension-for-bbc-microbi/cihhkhnngbjlhahcfmhekmbnnjcjdbge?hl=en-US) on the Chrome Web Store.
|
||||
* Restart Chrome and open the [web editor](https://pxt.microbit.org)
|
||||
* Restart Chrome and open the [web editor](@homeurl@)
|
||||
* The serial data will show below the simulator
|
||||
|
||||
If the extension is enabled, it will not be possible to access the port/device for the micro:bit from other programs than Chrome.
|
||||
|
@ -34,7 +34,7 @@ it appears as a new drive under Devices.
|
||||
|
||||
## Step 2: Download your program
|
||||
|
||||
1. Open your project on [pxt.microbit.org](https://pxt.microbit.org)
|
||||
1. Open your project on @homeurl@
|
||||
2. Click **Download**
|
||||
3. When prompted, choose to **save** the compiled file onto your computer. The
|
||||
prompt will be different depending on which browser you are using, or
|
||||
|
@ -34,7 +34,7 @@ it appears as a new drive under Devices.
|
||||
|
||||
## Step 2: Download your program
|
||||
|
||||
1. Open your project on [pxt.microbit.org](https://pxt.microbit.org)
|
||||
1. Open your project on @homeurl@
|
||||
2. Click **Download**
|
||||
3. When prompted, choose to **save** the compiled file onto your computer. The
|
||||
prompt will be different depending on which browser you are using, or
|
||||
|
@ -34,7 +34,7 @@ it appears as a new drive under Devices.
|
||||
|
||||
## Step 2: Download your program
|
||||
|
||||
1. Open your project on [pxt.microbit.org](https://pxt.microbit.org)
|
||||
1. Open your project on @homeurl@
|
||||
2. Click **Download**
|
||||
3. When prompted, choose to **save** the compiled file onto your computer. The
|
||||
prompt will be different depending on which browser you are using, or
|
||||
|
@ -43,7 +43,7 @@ You only need to do this once.
|
||||
|
||||
## Step 3: Download your program
|
||||
|
||||
1. Open your project on [pxt.microbit.org](https://pxt.microbit.org)
|
||||
1. Open your project on @homeurl@
|
||||
2. Click **Download**
|
||||
3. If you did Step 2 above, Chrome will ask where to save the `.hex` file,
|
||||
so save it into the `MICROBIT` drive.
|
||||
|
@ -36,7 +36,7 @@ it appears as a new drive under Devices.
|
||||
|
||||
## Step 2: Download your program
|
||||
|
||||
1. Open your project on [pxt.microbit.org](https://pxt.microbit.org)
|
||||
1. Open your project on @homeurl@
|
||||
2. Click **Download**
|
||||
3. When prompted, choose to **save** the compiled file onto your computer. The
|
||||
prompt will be different depending on which browser you are using, or
|
||||
|
@ -36,7 +36,7 @@ it appears as a new drive under Devices.
|
||||
|
||||
## Step 2: Download your program
|
||||
|
||||
1. Open your project on [pxt.microbit.org](https://pxt.microbit.org)
|
||||
1. Open your project on @homeurl@
|
||||
2. Click **Download**
|
||||
3. When prompted, choose to **save** the compiled file onto your computer. The
|
||||
prompt will be different depending on which browser you are using, or
|
||||
|
@ -35,7 +35,7 @@ it appears as a new drive under Devices.
|
||||
|
||||
## Step 2: Download your program
|
||||
|
||||
1. Open your project on [pxt.microbit.org](https://pxt.microbit.org)
|
||||
1. Open your project on @homeurl@
|
||||
2. Click **Download**
|
||||
3. When prompted, choose to **save** the compiled file onto your computer. The
|
||||
prompt will be different depending on which browser you are using, or
|
||||
|
@ -51,7 +51,7 @@ Icons used in the game:
|
||||
* Incubating: IconNames.Confused
|
||||
* Healthy: IconNames.Happy
|
||||
|
||||
https://pxt.microbit.org/_gymCJCWPbiDu
|
||||
https://makecode.microbit.org/_gymCJCWPbiDu
|
||||
|
||||
### JavaScript code
|
||||
|
||||
|
@ -37,7 +37,7 @@ bluetooth.onUartDataReceived(",", () => {})
|
||||
|
||||
```cards
|
||||
bluetooth.advertiseUid(42, 1, 7, true);
|
||||
bluetooth.advertiseUrl("https://pxt.microbit.org/", 7, true);
|
||||
bluetooth.advertiseUrl("https://makecode.microbit.org/", 7, true);
|
||||
bluetooth.stopAdvertising();
|
||||
```
|
||||
|
||||
|
@ -18,7 +18,7 @@ Read more at https://lancaster-university.github.io/microbit-docs/ble/eddystone/
|
||||
## ~
|
||||
|
||||
```sig
|
||||
bluetooth.advertiseUrl("https://pxt.microbit.org/", 7, true);
|
||||
bluetooth.advertiseUrl("https://makecode.microbit.org/", 7, true);
|
||||
```
|
||||
|
||||
### Parameters
|
||||
|
2
docs/static/icons/manifest.json
vendored
2
docs/static/icons/manifest.json
vendored
@ -1,5 +1,5 @@
|
||||
{
|
||||
"name": "pxt.microbit.org",
|
||||
"name": "makecode.microbit.org",
|
||||
"icons": [
|
||||
{
|
||||
"src": "\/android-chrome-36x36.png",
|
||||
|
@ -31,14 +31,5 @@
|
||||
"si-LK",
|
||||
"zh-CN",
|
||||
"zh-TW"
|
||||
],
|
||||
"notifications": {
|
||||
"pxt.microbit.org": {
|
||||
"type": "warning",
|
||||
"heading": "Important",
|
||||
"message": "This editor is moving to https://makecode.microbit.org on July 22nd 2017. Please update your bookmarks and school internet filters.",
|
||||
"url": "https://makecode.microbit.org",
|
||||
"readmore": "https://makecode.com/blog/microbit/v0.12.35"
|
||||
}
|
||||
}
|
||||
]
|
||||
}
|
||||
|
@ -1,5 +1,5 @@
|
||||
{
|
||||
"name": "pxt.microbit.org",
|
||||
"name": "makecode.microbit.org",
|
||||
"display": "fullscreen",
|
||||
"orientation": "portrait",
|
||||
"icons": [
|
||||
|
Loading…
Reference in New Issue
Block a user