Change the ISO label
This commit is contained in:
parent
9b8ebf5e2d
commit
d1d686f089
|
@ -3,7 +3,7 @@ begin
|
|||
set -l dir (status dirname)
|
||||
source "$dir/lib/choose-disk.fish"
|
||||
|
||||
set -l setupLabel "winiso"
|
||||
set -l setupLabel "winiso-valhalla"
|
||||
set -l buildDir "$(status dirname)/build"
|
||||
set -l isoFile "$buildDir/win.iso"
|
||||
set -l mountPath "/media/wininstall"
|
||||
|
|
|
@ -1,5 +1,5 @@
|
|||
$drives = & wmic volume get "DriveLetter,Label";
|
||||
$drive = $($($drives | Select-String -Pattern "winiso") -split "\s+")[0];
|
||||
$drive = $($($drives | Select-String -Pattern "winiso-valhalla") -split "\s+")[0];
|
||||
|
||||
Write-Warning "Attention: This program will completely wipe your current disk #1 and install Windows on it. Are you sure you want to do this?"
|
||||
Read-Host -Prompt "Hit enter to continue or CTRL+C to abort"
|
||||
|
|
Loading…
Reference in a new issue