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

View File

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