File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -151,6 +151,10 @@ test -z "$include_pdbs" || {
151151} ||
152152die " Could not unpack .pdb files"
153153
154+ # Install Tooling
155+ echo " Install WinApp CLI"
156+ winget install Microsoft.WinAppCLI
157+
154158# Create MSIX
155159
156160MAPFILE=$SCRIPT_PATH /root/files.map
@@ -177,6 +181,6 @@ echo "\"$(cygpath -aw "$SCRIPT_PATH")/Assets/StoreLogo.png\" \"Assets/StoreLogo.
177181echo " $LIST " |
178182sed -e ' y/\//\\/' -e ' s/.*/"&" "&"/' >> " $MAPFILE "
179183
180- PWSH_COMMAND=" . \" C:\Program Files (x86)\Windows Kits\10\bin\10.0.26100.0\x64\ makeappx.exe\" pack /v /o /f $( cygpath -aw " $MAPFILE " ) /p $( cygpath -aw " $TARGET " ) "
181- pwsh -wd " $( cygpath -aw " /" ) " -nop -noni -nol -c " iex '$PWSH_COMMAND '" &&
184+ PWSH_COMMAND=" winapp tool makeappx.exe pack /v /o /f $( cygpath -aw " $MAPFILE " ) /p $( cygpath -aw " $TARGET " ) "
185+ powershell -WorkingDirectory " $( cygpath -aw " /" ) " -NonInteractive -NoProfile -NoLogo -Command " iex '$PWSH_COMMAND '" &&
182186echo " Package created at $TARGET "
You can’t perform that action at this time.
0 commit comments