diff --git a/editor/deploy.ts b/editor/deploy.ts index 6a448402..b029790c 100644 --- a/editor/deploy.ts +++ b/editor/deploy.ts @@ -77,7 +77,7 @@ export function deployCoreAsync(resp: pxtc.CompileResult, isCli = false) { let rbfBIN = pxt.U.fromHex(rbfHex) pxt.HF2.write16(rbfBIN, 4, rbfBIN.length) - let origElfUF2 = UF2.parseFile(pxt.U.stringToUint8Array(atob(resp.outfiles[pxt.outputName()]))) + let origElfUF2 = UF2.parseFile(pxt.U.stringToUint8Array(ts.pxtc.decodeBase64(resp.outfiles[pxt.outputName()]))) let mkFile = (ext: string, data: Uint8Array = null) => { let f = UF2.newBlockFile() diff --git a/package.json b/package.json index f67f64c2..58fe50d2 100644 --- a/package.json +++ b/package.json @@ -45,7 +45,7 @@ }, "dependencies": { "pxt-common-packages": "0.17.13", - "pxt-core": "3.1.3" + "pxt-core": "3.1.4" }, "scripts": { "test": "node node_modules/pxt-core/built/pxt.js travis" diff --git a/sim/visuals/assets/Portsvg.ts b/sim/visuals/assets/Portsvg.ts index 4f5f9475..bf7d03d0 100644 --- a/sim/visuals/assets/Portsvg.ts +++ b/sim/visuals/assets/Portsvg.ts @@ -6,7 +6,7 @@ namespace pxsim.visuals { - B + B `;