Merge pull request #3 from Xinayder/firefox-webserial

Check if window.navigator.serial exists for setting flashing.supported
This commit is contained in:
Rastislav Vysoky 2026-01-24 00:47:08 +01:00 committed by GitHub
commit e023661bbc
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -147,7 +147,7 @@ function setup() {
}
const flashing = reactive({
supported: 'Serial' in window,
supported: 'Serial' in window || 'serial' in window.navigator,
instance: null,
locked: false,
percent: 0,