瀏覽代碼

[ci] update nsis

Rudy Ges 2 年之前
父節點
當前提交
9bbd10f7ff
共有 3 個文件被更改,包括 4 次插入4 次删除
  1. 2 2
      .github/workflows/main.yml
  2. 1 1
      extra/EnvVarUpdate.nsh
  3. 1 1
      extra/github-actions/install-nsis.yml

+ 2 - 2
.github/workflows/main.yml

@@ -28,7 +28,7 @@ jobs:
         with:
         with:
           timeout_minutes: 10
           timeout_minutes: 10
           max_attempts: 10
           max_attempts: 10
-          command: choco install --no-progress nsis.portable --version 3.02 -y
+          command: choco install --no-progress nsis.portable --version 3.09 -y
 
 
       - name: choco install things
       - name: choco install things
         shell: pwsh
         shell: pwsh
@@ -143,7 +143,7 @@ jobs:
         with:
         with:
           timeout_minutes: 10
           timeout_minutes: 10
           max_attempts: 10
           max_attempts: 10
-          command: choco install --no-progress nsis.portable --version 3.02 -y
+          command: choco install --no-progress nsis.portable --version 3.09 -y
 
 
       - name: choco install things
       - name: choco install things
         shell: pwsh
         shell: pwsh

+ 1 - 1
extra/EnvVarUpdate.nsh

@@ -43,7 +43,7 @@
   !ifndef Un${StrFuncName}_INCLUDED
   !ifndef Un${StrFuncName}_INCLUDED
     ${Un${StrFuncName}}
     ${Un${StrFuncName}}
   !endif
   !endif
-  !define un.${StrFuncName} "${Un${StrFuncName}}"
+  !define un.${StrFuncName} '${Un${StrFuncName}}'
 !macroend
 !macroend
 
 
 !insertmacro _IncludeStrFunction StrTok
 !insertmacro _IncludeStrFunction StrTok

+ 1 - 1
extra/github-actions/install-nsis.yml

@@ -3,7 +3,7 @@
   with:
   with:
     timeout_minutes: 10
     timeout_minutes: 10
     max_attempts: 10
     max_attempts: 10
-    command: choco install --no-progress nsis.portable --version 3.02 -y
+    command: choco install --no-progress nsis.portable --version 3.09 -y
 
 
 - name: choco install things
 - name: choco install things
   shell: pwsh
   shell: pwsh