Fix installer's plugins copy issue under Linux (by using WINE)
This commit is contained in:
parent
e9563aeb8c
commit
b709bc9f1b
@ -195,6 +195,6 @@ ${EndIf}
|
|||||||
FunctionEnd
|
FunctionEnd
|
||||||
|
|
||||||
Section un.PluginsAdmin
|
Section un.PluginsAdmin
|
||||||
Delete "$PLUGIN_CONF_PATH\nppPluginList.dll" ; delete 7.6 version's left
|
Delete "$USER_PLUGIN_CONF_PATH\nppPluginList.dll" ; delete 7.6 version's left
|
||||||
Delete "$ALLUSERS_PLUGIN_CONF_PATH\nppPluginList.dll"
|
Delete "$ALLUSERS_PLUGIN_CONF_PATH\nppPluginList.dll"
|
||||||
SectionEnd
|
SectionEnd
|
||||||
|
@ -60,10 +60,11 @@ initUpdatePath:
|
|||||||
Delete $INSTDIR\doLocalConf.xml
|
Delete $INSTDIR\doLocalConf.xml
|
||||||
|
|
||||||
; "%PROGRAMDATA%\Notepad++\plugins"
|
; "%PROGRAMDATA%\Notepad++\plugins"
|
||||||
ReadEnvStr $0 "ALLUSERSPROFILE"
|
SetShellVarContext all
|
||||||
StrCpy $PLUGIN_INST_PATH "$0\Notepad++\plugins"
|
StrCpy $PLUGIN_INST_PATH "$APPDATA\${APPNAME}\plugins"
|
||||||
StrCpy $ALLUSERS_PLUGIN_CONF_PATH "$0\Notepad++\plugins\Config"
|
StrCpy $ALLUSERS_PLUGIN_CONF_PATH "$APPDATA\${APPNAME}\plugins\Config"
|
||||||
|
|
||||||
|
SetShellVarContext current
|
||||||
StrCpy $USER_PLUGIN_CONF_PATH "$APPDATA\${APPNAME}\plugins\Config"
|
StrCpy $USER_PLUGIN_CONF_PATH "$APPDATA\${APPNAME}\plugins\Config"
|
||||||
StrCpy $UPDATE_PATH "$APPDATA\${APPNAME}"
|
StrCpy $UPDATE_PATH "$APPDATA\${APPNAME}"
|
||||||
CreateDirectory $UPDATE_PATH\plugins\config
|
CreateDirectory $UPDATE_PATH\plugins\config
|
||||||
|
Loading…
Reference in New Issue
Block a user