From 555d6730148dfb8e4218ac0e101c8701612e0981 Mon Sep 17 00:00:00 2001 From: Richard Knoll Date: Fri, 7 Jun 2019 08:59:41 -0700 Subject: [PATCH] Don't overwrite electron deploy (#2142) --- editor/extension.tsx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/editor/extension.tsx b/editor/extension.tsx index fe7912fa..ad9d9ad7 100644 --- a/editor/extension.tsx +++ b/editor/extension.tsx @@ -848,7 +848,7 @@ pxt.editor.initExtensionsAsync = function (opts: pxt.editor.ExtensionOptions): P const isUwp = !!(window as any).Windows; if (isUwp) pxt.commands.deployCoreAsync = uwpDeployCoreAsync; - else if (canHID() || pxt.webBluetooth.hasPartialFlash()) + else if ((canHID() || pxt.webBluetooth.hasPartialFlash()) && !pxt.BrowserUtils.isPxtElectron()) pxt.commands.deployCoreAsync = deployCoreAsync; res.blocklyPatch = patchBlocks;