diff options
author | Martijn Kaijser <mcm.kaijser@gmail.com> | 2015-09-25 14:51:30 +0200 |
---|---|---|
committer | Martijn Kaijser <mcm.kaijser@gmail.com> | 2015-09-25 14:51:30 +0200 |
commit | 48008ed248ac4b2ab0f5496d15b347c370720f27 (patch) | |
tree | d04d0439b0369c562515b247c6f07973db097372 | |
parent | 6171e82f9783c120478ec6da736c853584a2445e (diff) |
[win32] add screensaver add-ons to installer
-rw-r--r-- | project/Win32BuildSetup/genNsisIncludes.bat | 16 | ||||
-rw-r--r-- | project/Win32BuildSetup/genNsisInstaller.nsi | 1 |
2 files changed, 17 insertions, 0 deletions
diff --git a/project/Win32BuildSetup/genNsisIncludes.bat b/project/Win32BuildSetup/genNsisIncludes.bat index ef01b27a23..5ccaef5c57 100644 --- a/project/Win32BuildSetup/genNsisIncludes.bat +++ b/project/Win32BuildSetup/genNsisIncludes.bat @@ -76,6 +76,22 @@ IF EXIST BUILD_WIN32\addons\adsp.* ( ) SET Counter=1 +IF EXIST BUILD_WIN32\addons\screensaver.* ( + ECHO SectionGroup "Screensaver Add-ons" SecScreensaverAddons >> screensaver-addons.nsi + FOR /F "tokens=*" %%P IN ('dir /B /AD BUILD_WIN32\addons\screensaver.*') DO ( + SET "output=%%P" + SET output=!output:screensaver.=! + ECHO Section "!output!" SecScreensaverAddons!Counter! >> screensaver-addons.nsi + ECHO SectionIn 1 2 3 #section is in installtype Full >> screensaver-addons.nsi + ECHO SetOutPath "$INSTDIR\addons\%%P" >> screensaver-addons.nsi + ECHO File /r "${app_root}\addons\%%P\*.*" >> screensaver-addons.nsi + ECHO SectionEnd >> screensaver-addons.nsi + SET /A Counter = !Counter! + 1 + ) + ECHO SectionGroupEnd >> screensaver-addons.nsi +) + +SET Counter=1 IF EXIST BUILD_WIN32\addons\visualization.* ( ECHO SectionGroup "Music Visualization Add-ons" SecVisualizationAddons >> visualization-addons.nsi FOR /F "tokens=*" %%P IN ('dir /B /AD BUILD_WIN32\addons\visualization.*') DO ( diff --git a/project/Win32BuildSetup/genNsisInstaller.nsi b/project/Win32BuildSetup/genNsisInstaller.nsi index 5603a47851..a3e2ac2c3d 100644 --- a/project/Win32BuildSetup/genNsisInstaller.nsi +++ b/project/Win32BuildSetup/genNsisInstaller.nsi @@ -283,6 +283,7 @@ SectionEnd !include /nonfatal "audiodsp-addons.nsi" !include /nonfatal "pvr-addons.nsi" !include /nonfatal "skin-addons.nsi" +!include /nonfatal "screensaver-addons.nsi" !include /nonfatal "visualization-addons.nsi" ;-------------------------------- |