提交记录修改packaging/windows/Cage.nsi+3 −0看文件
| @@ -610,6 +610,9 @@ Section "Uninstall" | ||
| 610 | 610 | File /oname=installation-files.ps1 "installation-files.ps1" |
| 611 | 611 | File /oname=verified-file-deletion.cs "verified-file-deletion.cs" |
| 612 | 612 | File /oname=install-files.json "${FILE_MANIFEST}" |
| 613 | 新增: ; PowerShell 5.1 Add-Type must not resolve NSIS's native System.dll as a | |
| 614 | 新增: ; managed compiler reference from the plugin working directory. | |
| 615 | 新增: SetOutPath "$TEMP" | |
| 613 | 616 | !insertmacro UninstallPhase "removing_owned_files" |
| 614 | 617 | nsExec::ExecToStack '"$SYSDIR\WindowsPowerShell\v1.0\powershell.exe" -NoProfile -ExecutionPolicy Bypass -File "$PLUGINSDIR\installation-files.ps1" -Operation uninstall -Target "$INSTDIR" -Manifest "$PLUGINSDIR\install-files.json" $DiagnosticArguments' |
| 615 | 618 | Pop $0 |

