diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index c466aabd9..0e400ea21 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -429,22 +429,22 @@ jobs: Get-ChildItem ${{ env.INSTALL_PORTABLE_DIR }} -Recurse | ForEach FullName | Resolve-Path -Relative | %{ $_.TrimStart('.\') } | %{ $_.TrimStart('${{ env.INSTALL_PORTABLE_DIR }}') } | %{ $_.TrimStart('\') } | Out-File -FilePath ${{ env.INSTALL_DIR }}/manifest.txt - name: Package (Windows MinGW-w64, installer) - if: runner.os == 'Windows' && (matrix.msystem != '' || matrix.architecture == "win32") + if: runner.os == 'Windows' && (matrix.msystem != '' || matrix.architecture == 'win32') run: | cd ${{ env.INSTALL_DIR }} makensis -NOCD "${{ github.workspace }}/${{ env.BUILD_DIR }}/program_info/win_install.nsi" - name: Package (Windows MSVC, installer) - if: runner.os == 'Windows' && matrix.msystem == '' && matrix.architecture != "win32" + if: runner.os == 'Windows' && matrix.msystem == '' && matrix.architecture != 'win32' shell: pwsh run: | cd ${{ env.INSTALL_DIR }} Copy-Item ..\program_info\prismlauncher_*x*.png . - Copy-Item ..\program_info\AppxManifest.xml . + (Get-Content ..\program_info\AppxManifest.xml) -replace "PRISM_VERSION_REPLACEME","${{ env.VERSION }}.0.0" -replace "PRISM_ARCH_REPLACEME","${{ matrix.architecture }}" > ${{ env.INSTALL_DIR }}\AppxManifest.xml makeappx.exe pack /v /h SHA256 /d . /p prismlauncher.msix - name: Sign installer (Windows MinGW-w64/MSVC Legacy) - if: runner.os == 'Windows' && (matrix.msystem != '' || matrix.architecture == "win32") + if: runner.os == 'Windows' && (matrix.msystem != '' || matrix.architecture == 'win32') run: | if (Get-Content ./codesign.pfx){ SignTool sign /fd sha256 /td sha256 /f codesign.pfx /p '${{ secrets.WINDOWS_CODESIGN_PASSWORD }}' /tr http://timestamp.digicert.com PrismLauncher-Setup.exe @@ -453,7 +453,7 @@ jobs: } - name: Sign installer (Windows MSVC) - if: runner.os == 'Windows' && matrix.msystem == '' && matrix.architecture != "win32" + if: runner.os == 'Windows' && matrix.msystem == '' && matrix.architecture != 'win32' run: | if (Get-Content ./codesign.pfx){ SignTool sign /fd sha256 /td sha256 /f codesign.pfx /p '${{ secrets.WINDOWS_CODESIGN_PASSWORD }}' /tr http://timestamp.digicert.com ${{ env.INSTALL_DIR }}/prismlauncher.msix @@ -540,14 +540,14 @@ jobs: path: ${{ env.INSTALL_PORTABLE_DIR }}/** - name: Upload installer (Windows MinGW-w64/MSVC Legacy) - if: runner.os == 'Windows' && (matrix.msystem != '' || matrix.architecture == "win32") + if: runner.os == 'Windows' && (matrix.msystem != '' || matrix.architecture == 'win32') uses: actions/upload-artifact@v3 with: name: PrismLauncher-${{ matrix.name }}-Setup-${{ env.VERSION }}-${{ inputs.build_type }} path: PrismLauncher-Setup.exe - name: Upload installer (Windows MSVC) - if: runner.os == 'Windows' && matrix.msystem == '' && matrix.architecture != "win32" + if: runner.os == 'Windows' && matrix.msystem == '' && matrix.architecture != 'win32' uses: actions/upload-artifact@v3 with: name: PrismLauncher-${{ matrix.name }}-MSIX-${{ env.VERSION }}-${{ inputs.build_type }} diff --git a/program_info/AppxManifest.xml b/program_info/AppxManifest.xml index d988980cc..c2373c9b0 100644 --- a/program_info/AppxManifest.xml +++ b/program_info/AppxManifest.xml @@ -7,7 +7,7 @@ xmlns:virtualization="http://schemas.microsoft.com/appx/manifest/virtualization/windows10" xmlns:desktop6="http://schemas.microsoft.com/appx/manifest/desktop/windows10/6" IgnorableNamespaces="rescap virtualization desktop6"> - + Prism Launcher Prism Launcher