Change the ISO label

This commit is contained in:
Manuel Thalmann 2024-07-22 17:47:59 +02:00
parent 9b8ebf5e2d
commit d1d686f089
2 changed files with 2 additions and 2 deletions

View file

@ -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"

View file

@ -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"