packaging: improved nsis installer
- Enabled Hi-DPI - Enabled Unicode
This commit is contained in:
@@ -257,9 +257,9 @@ jobs:
|
||||
#$DOWNLOAD_TOOL http://web.archive.org/web/20210226132532/http://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 .
|
||||
$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 -W)" olive.nsi
|
||||
$DOWNLOAD_TOOL https://nsis.sourceforge.io/mediawiki/images/6/68/ShellExecAsUser_amd64-Unicode.7z
|
||||
7z e ShellExecAsUser_amd64-Unicode.7z Plugins/x86-unicode/ShellExecAsUser.dll
|
||||
makensis -V4 -DX64 "-XOutFile $PKGNAME.exe" "-X!AddPluginDir /x86-unicode $(pwd -W)" olive.nsi
|
||||
|
||||
# Create Portable ZIP
|
||||
echo -n > olive-editor/portable
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
!include "MUI.nsh"
|
||||
!include "MUI2.nsh"
|
||||
|
||||
!define MUI_ICON "install icon.ico"
|
||||
!define MUI_UNICON "uninstall icon.ico"
|
||||
@@ -12,6 +12,8 @@ SetCompressor lzma
|
||||
|
||||
Name ${APP_NAME}
|
||||
|
||||
ManifestDPIAware true
|
||||
Unicode true
|
||||
|
||||
!ifdef X64
|
||||
InstallDir "$PROGRAMFILES64\${APP_NAME}"
|
||||
|
||||
Reference in New Issue
Block a user