Ruben 11 月之前
父节点
当前提交
821c084133
共有 2 个文件被更改,包括 3 次插入3 次删除
  1. 2 2
      .github/workflows/TestSignWindows.yaml
  2. 1 1
      Build/Build WPF.ps1

+ 2 - 2
.github/workflows/TestSignWindows.yaml

@@ -21,7 +21,7 @@ jobs:
       # Step 4 (x64): Publish x64 version
       # Step 4 (x64): Publish x64 version
       - name: Publish x64 version
       - name: Publish x64 version
         run: |
         run: |
-          pwsh -File "${{ github.workspace }}\Build\Build WPF.ps1" -Platform "x64" -selfContained true -outputPath "${{ github.workspace }}\Build\PicView-v${{steps.get-version.outputs.version}}-win-x64"
+          pwsh -File "${{ github.workspace }}\Build\Build WPF.ps1" -Platform "x64" -selfContained $True -outputPath "${{ github.workspace }}\Build\PicView-v${{steps.get-version.outputs.version}}-win-x64"
         shell: pwsh
         shell: pwsh
 
 
       # Step 5 (x64): Compile .ISS to .EXE Installer for x64
       # Step 5 (x64): Compile .ISS to .EXE Installer for x64
@@ -34,7 +34,7 @@ jobs:
       # Step 6 (arm64): Publish arm64 version
       # Step 6 (arm64): Publish arm64 version
       - name: Publish arm64 version
       - name: Publish arm64 version
         run: |
         run: |
-          pwsh -File "${{ github.workspace }}\Build\Build WPF.ps1" -Platform "arm64" -selfContained true -outputPath "${{ github.workspace }}\Build\PicView-v${{steps.get-version.outputs.version}}-win-arm64"
+          pwsh -File "${{ github.workspace }}\Build\Build WPF.ps1" -Platform "arm64" -selfContained $True -outputPath "${{ github.workspace }}\Build\PicView-v${{steps.get-version.outputs.version}}-win-arm64"
         shell: pwsh
         shell: pwsh
 
 
 
 

+ 1 - 1
Build/Build WPF.ps1

@@ -5,7 +5,7 @@ param (
     [string]$outputPath = $PSScriptRoot
     [string]$outputPath = $PSScriptRoot
 )
 )
 param (
 param (
-    [bool]$selfContained = true
+    [bool]$selfContained = $True
 )
 )
 
 
 # Define the core project path relative to the script's location
 # Define the core project path relative to the script's location