Compare commits

...

2 commits

Author SHA1 Message Date
1c0a397594 Install most recent version of winget 2023-09-28 03:50:36 +02:00
94f37e40c0 Fix creation of winiso 2023-09-27 12:06:24 +02:00
2 changed files with 3 additions and 2 deletions

View file

@ -226,6 +226,7 @@
Import-Module $env:ChocolateyInstall/helpers/chocolateyProfile.psm1; Import-Module $env:ChocolateyInstall/helpers/chocolateyProfile.psm1;
choco install -y winget;
choco install -y git --params='/WindowsTerminalProfile /DefaultBranchName:main'; choco install -y git --params='/WindowsTerminalProfile /DefaultBranchName:main';
choco install -y powershell-core --install-arguments='"ADD_FILE_CONTEXT_MENU_RUNPOWERSHELL=1 ADD_EXPLORER_CONTEXT_MENU_OPENPOWERSHELL=1 REGISTER_MANIFEST=1 USE_MU=1 ENABLE_MU=1"'; choco install -y powershell-core --install-arguments='"ADD_FILE_CONTEXT_MENU_RUNPOWERSHELL=1 ADD_EXPLORER_CONTEXT_MENU_OPENPOWERSHELL=1 REGISTER_MANIFEST=1 USE_MU=1 ENABLE_MU=1"';
refreshenv; refreshenv;

View file

@ -28,7 +28,7 @@ else
setupLabel="winiso"; setupLabel="winiso";
intelNetworkArchive="./$buildDir/intelNetwork.zip"; intelNetworkArchive="./$buildDir/intelNetwork.zip";
marvellNetworkArchive="./$buildDir/marvellNetwork.zip"; marvellNetworkArchive="./$buildDir/marvellNetwork.zip";
gitArchive="$(realpath "./$buildDir/git.msi")"; gitArchive="$(realpath -m "./$buildDir/git.msi")";
pwshArchive="./$buildDir/pwsh.zip"; pwshArchive="./$buildDir/pwsh.zip";
editionField="Edition ID"; editionField="Edition ID";
@ -52,7 +52,7 @@ else
if [ ! -f "$pwshArchive" ] if [ ! -f "$pwshArchive" ]
then then
curl -L "https://github.com/PowerShell/PowerShell/releases/download/v7.3.4/PowerShell-7.3.4-win-x64.zip" -o "$pwshArchive"; curl -L "https://github.com/PowerShell/PowerShell/releases/download/v7.3.7/PowerShell-7.3.7-win-x64.zip" -o "$pwshArchive";
fi; fi;
mkdir -p "$overlayDir/drivers"; mkdir -p "$overlayDir/drivers";