Compare commits

...

3 commits

Author SHA1 Message Date
makermelissa
510964519b Github Action: Updated dist files 2024-03-25 21:22:01 +00:00
Melissa LeBlanc-Williams
90c20e17d1
Merge pull request #10 from makermelissa/main
Update CP installer to allow continuing even if boot drive doesn't match
2024-03-25 14:21:36 -07:00
Melissa LeBlanc-Williams
ba210947eb Update CP installer to allow continuing even if boot drive doesn't match 2024-03-25 14:20:04 -07:00
3 changed files with 7 additions and 5 deletions

View file

@ -618,8 +618,9 @@ export class CPInstallButton extends InstallButton {
return;
}
if (bootloaderVolume && bootloaderVolume != dirHandle.name) {
alert(`The selected drive named ${dirHandle.name} does not match the expected name of ${bootloaderVolume}. Please select the correct drive.`);
return;
if (!confirm(`The selected drive named ${dirHandle.name} does not match the expected name of ${bootloaderVolume}. Continue anyways?`)) {
return;
}
}
if (!await this._verifyPermission(dirHandle)) {
alert("Unable to write to the selected folder");

5
dist/cpinstaller.js vendored
View file

@ -618,8 +618,9 @@ export class CPInstallButton extends InstallButton {
return;
}
if (bootloaderVolume && bootloaderVolume != dirHandle.name) {
alert(`The selected drive named ${dirHandle.name} does not match the expected name of ${bootloaderVolume}. Please select the correct drive.`);
return;
if (!confirm(`The selected drive named ${dirHandle.name} does not match the expected name of ${bootloaderVolume}. Continue anyways?`)) {
return;
}
}
if (!await this._verifyPermission(dirHandle)) {
alert("Unable to write to the selected folder");

File diff suppressed because one or more lines are too long