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
|
||||
|
||||
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"
|
||||
SectionEnd
|
||||
|
@ -60,10 +60,11 @@ initUpdatePath:
|
||||
Delete $INSTDIR\doLocalConf.xml
|
||||
|
||||
; "%PROGRAMDATA%\Notepad++\plugins"
|
||||
ReadEnvStr $0 "ALLUSERSPROFILE"
|
||||
StrCpy $PLUGIN_INST_PATH "$0\Notepad++\plugins"
|
||||
StrCpy $ALLUSERS_PLUGIN_CONF_PATH "$0\Notepad++\plugins\Config"
|
||||
SetShellVarContext all
|
||||
StrCpy $PLUGIN_INST_PATH "$APPDATA\${APPNAME}\plugins"
|
||||
StrCpy $ALLUSERS_PLUGIN_CONF_PATH "$APPDATA\${APPNAME}\plugins\Config"
|
||||
|
||||
SetShellVarContext current
|
||||
StrCpy $USER_PLUGIN_CONF_PATH "$APPDATA\${APPNAME}\plugins\Config"
|
||||
StrCpy $UPDATE_PATH "$APPDATA\${APPNAME}"
|
||||
CreateDirectory $UPDATE_PATH\plugins\config
|
||||
|
Loading…
Reference in New Issue
Block a user