fix(winget): remove incorrect variables

This commit is contained in:
Jan De Dobbeleer 2022-12-16 14:02:31 +01:00 committed by Jan De Dobbeleer
parent 5047390bc4
commit da4fb19684

View file

@ -63,12 +63,14 @@ if (-not $Token) {
} }
# Install the latest wingetcreate exe # Install the latest wingetcreate exe
# Download and install C++ Runtime framework package. # Download and install C++ Runtime framework package.
Invoke-WebRequest https://aka.ms/Microsoft.VCLibs.x64.14.00.Desktop.appx -OutFile $(vcLibsBundleFile) $vcLibsBundleFile = "$env:TEMP\Microsoft.VCLibs.Desktop.appx"
Add-AppxPackage $(vcLibsBundleFile) Invoke-WebRequest https://aka.ms/Microsoft.VCLibs.x64.14.00.Desktop.appx -OutFile $vcLibsBundleFile
Add-AppxPackage $vcLibsBundleFile
# Download Winget-Create msixbundle, install, and execute update. # Download Winget-Create msixbundle, install, and execute update.
Invoke-WebRequest https://aka.ms/wingetcreate/latest/msixbundle -OutFile $(appxBundleFile) $appxBundleFile = "$env:TEMP\wingetcreate.msixbundle"
Add-AppxPackage $(appxBundleFile) Invoke-WebRequest https://aka.ms/wingetcreate/latest/msixbundle -OutFile $appxBundleFile
Add-AppxPackage $appxBundleFile
# Create the PR # Create the PR
wingetcreate submit --token $Token $Version wingetcreate submit --token $Token $Version