diff --git a/src/makecode/__snapshots__/utils.test.ts.snap b/src/makecode/__snapshots__/utils.test.ts.snap index 29c2ed834..fc004957c 100644 --- a/src/makecode/__snapshots__/utils.test.ts.snap +++ b/src/makecode/__snapshots__/utils.test.ts.snap @@ -45,6 +45,7 @@ namespace ml { }; simulatorSendData(); + startRunning(); } // Auto-generated. Do not edit. Really. @@ -5278,7 +5279,7 @@ ml.onStart(ml.event.Clap, function () { basic.showIcon(IconNames.EighthNote) }) ", - "pxt.json": "{"name":"A project name","description":"","dependencies":{"core":"*","microphone":"*","radio":"*","machine-learning":"github:microbit-foundation/pxt-microbit-ml#v1.0.10"},"files":["main.ts","main.blocks","autogenerated.ts","dataset.json","pxt.json","README.md"],"preferredEditor":"blocksprj"}", + "pxt.json": "{"name":"A project name","description":"","dependencies":{"core":"*","microphone":"*","radio":"*","machine-learning":"github:microbit-foundation/pxt-microbit-ml#v1.0.11"},"files":["main.ts","main.blocks","autogenerated.ts","dataset.json","pxt.json","README.md"],"preferredEditor":"blocksprj"}", }, } `; diff --git a/src/makecode/generate-custom-scripts.ts b/src/makecode/generate-custom-scripts.ts index d0bddac02..8af0b6570 100644 --- a/src/makecode/generate-custom-scripts.ts +++ b/src/makecode/generate-custom-scripts.ts @@ -86,6 +86,7 @@ ${createEventListeners(actionNames)} }; simulatorSendData(); + startRunning(); } // Auto-generated. Do not edit. Really. diff --git a/src/makecode/utils.ts b/src/makecode/utils.ts index 84e8a8c90..75339cc07 100644 --- a/src/makecode/utils.ts +++ b/src/makecode/utils.ts @@ -26,7 +26,7 @@ export const filenames = { // Exported for testing. export const extensionName = "machine-learning"; -const extensionURL = "github:microbit-foundation/pxt-microbit-ml#v1.0.10"; +const extensionURL = "github:microbit-foundation/pxt-microbit-ml#v1.0.11"; export const pxt = { name: untitledProjectName,