Store cached files in the .cache folder

This commit is contained in:
Manuel Thalmann 2024-07-22 21:00:46 +02:00
parent d1d686f089
commit d56482fbdd

View file

@ -5,6 +5,7 @@ begin
set -l setupLabel "winiso-valhalla"
set -l buildDir "$(status dirname)/build"
set -l cacheDir ~/.cache/winiso-valhalla
set -l isoFile "$buildDir/win.iso"
set -l mountPath "/media/wininstall"
set -l bootPath "/media/boot"
@ -22,10 +23,10 @@ begin
set -l editionField "Edition ID"
set -l wimFile "$dataPath/sources/install.wim"
set -l intelNetworkArchive "$buildDir/intelNetwork.zip"
set -l marvellNetworkArchive "$buildDir/marvellNetwork.zip"
set -l gitArchive (realpath -m "$buildDir/git.msi")
set -l pwshArchive "$buildDir/pwsh.zip"
set -l intelNetworkArchive "$cacheDir/intelNetwork.zip"
set -l marvellNetworkArchive "$cacheDir/marvellNetwork.zip"
set -l gitArchive (realpath -m "$cacheDir/git.msi")
set -l pwshArchive "$cacheDir/pwsh.zip"
mkdir -p "$buildDir"
cp -r "$dir/winfs"/* "$overlayDir"