[geany/geany-plugins] 94c667: Windows installer: do not hardcode NSIS plugin paths

Enrico Tröger git-noreply at xxxxx
Sun Jan 2 17:57:40 UTC 2022


Branch:      refs/heads/master
Author:      Enrico Tröger <enrico.troeger at uvena.de>
Committer:   Enrico Tröger <enrico.troeger at uvena.de>
Date:        Sun, 02 Jan 2022 17:57:40 UTC
Commit:      94c6671a5dc2365578eb801c9e17146e87e03458
             https://github.com/geany/geany-plugins/commit/94c6671a5dc2365578eb801c9e17146e87e03458

Log Message:
-----------
Windows installer: do not hardcode NSIS plugin paths

This makes it easier to build against different installations of NSIS
where the plugin path can differ.


Modified Paths:
--------------
    build/geany-plugins.nsi

Modified: build/geany-plugins.nsi
8 lines changed, 4 insertions(+), 4 deletions(-)
===================================================================
@@ -84,10 +84,10 @@ Var UNINSTDIR
 !include "MUI2.nsh"
 
 ;Reserve files used in .onInit, for faster start-up
-ReserveFile "${NSISDIR}\Plugins\x86-unicode\System.dll"
-ReserveFile "${NSISDIR}\Plugins\x86-unicode\UserInfo.dll"
-ReserveFile "${NSISDIR}\Plugins\x86-unicode\InstallOptions.dll"
-ReserveFile "${NSISDIR}\Plugins\x86-unicode\LangDLL.dll"
+ReserveFile /plugin "System.dll"
+ReserveFile /plugin "UserInfo.dll"
+ReserveFile /plugin "InstallOptions.dll"
+ReserveFile /plugin "LangDLL.dll"
 
 !define MUI_ABORTWARNING
 !define MUI_ICON "geany-plugins.ico"



--------------
This E-Mail was brought to you by github_commit_mail.py (Source: https://github.com/geany/infrastructure).


More information about the Plugins-Commits mailing list