rokucommunity / roku-debug

A compatibility wrapper around the BrightScript debug protocol https://developer.roku.com/en-ca/docs/developer-program/debugging/socket-based-debugger.md
MIT License
12 stars 9 forks source link

Add `deleteDevChannelBeforeInstall` option #158

Closed TwitchBronBron closed 1 year ago

TwitchBronBron commented 1 year ago

Adds the deleteDevChannelBeforeInstall which, when enabled, will delete the dev channel before sideloading the new zip.

This is being introduced as a result of a bug in the latest Roku OS 12.5 beta firmware (12.5.0 build 4105) that, if you're using the debug protocol debugger, it now requires you to delete the sideloaded dev channel between every launch. Otherwise, on subsequent launches it will completely ignore the "enable debug protocol" feature and instead kick off a telnet debug session. There's a caveat though: deleting the dev channel clears the dev channel registry if the device isn't signed.

By adding this as an opt-in flag, devs can use the latest betas, but then if we get the issue fixed, they can disable it again without requiring another vscode extension release.