microsoft / pxt-microbit

A Blocks / JavaScript code editor for the micro:bit built on Microsoft MakeCode
https://makecode.microbit.org
Other
727 stars 638 forks source link

Offline app doesn't support WebUSB, however it downloads project directly to connected microbit #5979

Closed spacevoyager78 closed 1 month ago

spacevoyager78 commented 1 month ago

Hi! This isn't really an issue, more like about an existing feature that I can't find in any docs. I was under the impression that the offline app can't be used to download projects directly to microbit, because it doesn't support WebUSB (#5524). However, to my surprise, when I created a project and clicked Download, the project downloaded to my connected microbit! If the microbit is not connected, it prompts me a download folder. Does the offline app checks if there's a connected microbit and downloads the project in it? If that's the case, we don't really need WebUSB for it, do we?

spacevoyager78 commented 1 month ago

I'm gonna go ahead and close this one. It appears that once a microbit is connected, the Download button of the offline app copies the program directly to the microbit,