Merge pull request #10 from makermelissa/main
Update CP installer to allow continuing even if boot drive doesn't match
This commit is contained in:
commit
90c20e17d1
1 changed files with 3 additions and 2 deletions
|
|
@ -618,8 +618,9 @@ export class CPInstallButton extends InstallButton {
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
if (bootloaderVolume && bootloaderVolume != dirHandle.name) {
|
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.`);
|
if (!confirm(`The selected drive named ${dirHandle.name} does not match the expected name of ${bootloaderVolume}. Continue anyways?`)) {
|
||||||
return;
|
return;
|
||||||
|
}
|
||||||
}
|
}
|
||||||
if (!await this._verifyPermission(dirHandle)) {
|
if (!await this._verifyPermission(dirHandle)) {
|
||||||
alert("Unable to write to the selected folder");
|
alert("Unable to write to the selected folder");
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue