Update CP installer to allow continuing even if boot drive doesn't match
This commit is contained in:
parent
be59de5d4a
commit
ba210947eb
1 changed files with 3 additions and 2 deletions
|
|
@ -618,9 +618,10 @@ 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.`);
|
||||
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");
|
||||
return;
|
||||
|
|
|
|||
Loading…
Reference in a new issue