Skip to content

Commit 32b0cd3

Browse files
feat: add download support for UF2 firmwares (#102)
* feat: add download support for UF2 firmwares * fix: throw error if build failed
1 parent 166dc14 commit 32b0cd3

File tree

16 files changed

+64
-24
lines changed

16 files changed

+64
-24
lines changed

e2e/pages/firmware-wizard/firmware-selection.spec.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -129,7 +129,7 @@ const streamToString = (stream: Readable): Promise<string> => {
129129
// Start waiting for the download
130130
!isElectron ? page.waitForEvent("download") : undefined,
131131
// Perform the action that initiates download
132-
(await queries.getByText("Download .bin")).click(),
132+
(await queries.getByText("Download file")).click(),
133133
]);
134134

135135
// In browser we can use the download event

locales/be/flashing.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -37,7 +37,7 @@
3737
"DFU connection active": "Злучэнне DFU актыўна",
3838
"Done": "Гатова",
3939
"Download": "Загрузка",
40-
"Download .bin": "Загрузка .bin",
40+
"Download file": "Загрузка file",
4141
"Download firmware data": "Загрузка дадзеных убудаванага ПЗ",
4242
"Downloaded": "Загружана",
4343
"Downloading": "Загружаецца",

locales/cs/flashing.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -40,7 +40,7 @@
4040
"DFU connection active": "DFU spojení aktivní",
4141
"Done": "Hotovo",
4242
"Download": "Stáhnout",
43-
"Download .bin": "Stáhnout .bin",
43+
"Download file": "Stáhnout file",
4444
"Download firmware data": "Stáhnout firmware",
4545
"Downloaded": "Staženo",
4646
"Downloading": "Stahuji",

locales/da/flashing.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -40,7 +40,7 @@
4040
"DFU connection active": "DFU forbindelse aktiv",
4141
"Done": "Klar",
4242
"Download": "Hent",
43-
"Download .bin": "Hent .bin",
43+
"Download file": "Hent file",
4444
"Download firmware data": "Henter firmware informationer",
4545
"Downloaded": "Hentet",
4646
"Downloading": "Henter",

locales/de/flashing.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -40,7 +40,7 @@
4040
"DFU connection active": "DFU-Verbindung aktiv",
4141
"Done": "Fertig",
4242
"Download": "Herunterladen",
43-
"Download .bin": ".bin herunterladen",
43+
"Download file": "Datei herunterladen",
4444
"Download firmware data": "Firmware-Daten herunterladen",
4545
"Downloaded": "Heruntergeladen",
4646
"Downloading": "wird heruntergeladen",

locales/es/flashing.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -40,7 +40,7 @@
4040
"DFU connection active": "DFU connection active",
4141
"Done": "Done",
4242
"Download": "Download",
43-
"Download .bin": "Download .bin",
43+
"Download file": "Download file",
4444
"Download firmware data": "Download firmware data",
4545
"Downloaded": "Downloaded",
4646
"Downloading": "Downloading",

locales/fr/flashing.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -37,7 +37,7 @@
3737
"DFU connection active": "DFU connection active",
3838
"Done": "Done",
3939
"Download": "Download",
40-
"Download .bin": "Download .bin",
40+
"Download file": "Download file",
4141
"Download firmware data": "Download firmware data",
4242
"Downloaded": "Downloaded",
4343
"Downloading": "Downloading",

locales/it/flashing.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -40,7 +40,7 @@
4040
"DFU connection active": "Connessione DFU attiva",
4141
"Done": "Completato",
4242
"Download": "Scarica",
43-
"Download .bin": "Scarica .bin",
43+
"Download file": "Scarica file",
4444
"Download firmware data": "Scarica i dati del firmware",
4545
"Downloaded": "Scaricato",
4646
"Downloading": "Scaricando",

locales/ru/flashing.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -40,7 +40,7 @@
4040
"DFU connection active": "Соединение DFU активно",
4141
"Done": "Готово",
4242
"Download": "Загрузка",
43-
"Download .bin": "Загрузка .bin",
43+
"Download file": "Загрузка file",
4444
"Download firmware data": "Загрузка данных встроенного ПО",
4545
"Downloaded": "Загруженно",
4646
"Downloading": "Загружается",

locales/sv/flashing.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -40,7 +40,7 @@
4040
"DFU connection active": "DFU-anslutning aktiv",
4141
"Done": "Klar",
4242
"Download": "Ladda ner",
43-
"Download .bin": "Ladda ner .bin",
43+
"Download file": "Ladda ner file",
4444
"Download firmware data": "Hämtar firmwareinformation",
4545
"Downloaded": "Nerladdad",
4646
"Downloading": "Laddar ner",

0 commit comments

Comments
 (0)