Skip to content

Commit 06c8bb0

Browse files
authored
Merge pull request #17 from makermelissa/main
Fix issue that prevented language parameter from changing
2 parents 5daaed1 + c9d4de4 commit 06c8bb0

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

cpinstaller.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -162,10 +162,10 @@ export class CPInstallButton extends InstallButton {
162162
}
163163
this.releaseVersion = releaseInfo.version;
164164
}
165-
if (releaseInfo.uf2file) {
165+
if (releaseInfo.uf2file && !this.uf2FileUrl) {
166166
this.uf2FileUrl = this.updateBinaryUrl(releaseInfo.uf2file);
167167
}
168-
if (releaseInfo.binfile) {
168+
if (releaseInfo.binfile && !this.binFileUrl) {
169169
this.binFileUrl = this.updateBinaryUrl(releaseInfo.binfile);
170170
}
171171
}

0 commit comments

Comments
 (0)