nsis: use ShellExecAsUser

Fixes #1245
This commit is contained in:
itsmattkc
2021-03-24 00:04:44 +11:00
parent 9e4d42da26
commit ac33767a68
+3 -1
View File
@@ -223,7 +223,9 @@ jobs:
$DOWNLOAD_TOOL https://download.microsoft.com/download/3/2/2/3224B87F-CFA0-4E70-BDA3-3DE650EFEBA5/vcredist_x64.exe
cp $(cygpath $GITHUB_WORKSPACE)/app/packaging/windows/nsis/* .
cp $(cygpath $GITHUB_WORKSPACE)/LICENSE .
makensis -V4 -DX64 "-XOutFile $PKGNAME.exe" olive.nsi
$DOWNLOAD_TOOL https://nsis.sourceforge.io/mediawiki/images/c/c7/ShellExecAsUser.zip
7z x ShellExecAsUser.zip ShellExecAsUser.dll
makensis -V4 -DX64 "-XOutFile $PKGNAME.exe" "-X!AddPluginDir $(pwd)" olive.nsi
# Create Portable ZIP
echo -n > olive-editor/portable