From ac33767a6876c5235aae20163cc52b18683229d9 Mon Sep 17 00:00:00 2001 From: itsmattkc Date: Wed, 24 Mar 2021 00:04:44 +1100 Subject: [PATCH] nsis: use ShellExecAsUser Fixes #1245 --- .github/workflows/ci.yml | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 7c2e8e243..7ca9fc8a2 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -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