Add Plugin Manager default behaviour

This commit is contained in:
Don Ho 2016-11-26 18:46:00 +01:00
parent 1ce7df0408
commit 591a07110e
3 changed files with 6 additions and 0 deletions

Binary file not shown.

View File

@ -60,6 +60,8 @@ SectionGroup "Plugins" Plugins
Delete "$INSTDIR\plugins\PluginManager.dll"
SetOutPath "$INSTDIR\plugins"
File "..\bin\plugins\PluginManager.dll"
SetOutPath "$UPDATE_PATH\plugins\Config"
File "..\bin\plugins\Config\PluginManager.ini"
SetOutPath "$INSTDIR\updater"
File "..\bin\updater\gpup.exe"
${MementoSectionEnd}
@ -123,6 +125,7 @@ SectionGroup un.Plugins
Section un.PluginManager
Delete "$INSTDIR\plugins\PluginManager.dll"
Delete "$UPDATE_PATH\plugins\Config\PluginManager.ini"
Delete "$INSTDIR\updater\gpup.exe"
RMDir "$INSTDIR\updater\"
SectionEnd

View File

@ -177,10 +177,13 @@ If ErrorLevel 1 goto End
rem plugins manager and its updater
copy /Y "..\bin\plugins\PluginManager.dll" .\zipped.package.release\plugins\
If ErrorLevel 1 goto End
copy /Y "..\bin\plugins\Config\PluginManager.ini" .\zipped.package.release\plugins\Config\
If ErrorLevel 1 goto End
copy /Y "..\bin\updater\gpup.exe" .\zipped.package.release\updater\
If ErrorLevel 1 goto End
rem localizations
copy /Y ".\nativeLang\*.xml" .\zipped.package.release\localization\
If ErrorLevel 1 goto End