diff options
Diffstat (limited to 'project/Win32BuildSetup')
-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 985fd32041..ef01b27a23 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\visualization.* ( + ECHO SectionGroup "Music Visualization Add-ons" SecVisualizationAddons >> visualization-addons.nsi + FOR /F "tokens=*" %%P IN ('dir /B /AD BUILD_WIN32\addons\visualization.*') DO ( + SET "output=%%P" + SET output=!output:visualization.=! + ECHO Section "!output!" SecVisualizationAddons!Counter! >> visualization-addons.nsi + ECHO SectionIn 1 2 3 #section is in installtype Full >> visualization-addons.nsi + ECHO SetOutPath "$INSTDIR\addons\%%P" >> visualization-addons.nsi + ECHO File /r "${app_root}\addons\%%P\*.*" >> visualization-addons.nsi + ECHO SectionEnd >> visualization-addons.nsi + SET /A Counter = !Counter! + 1 + ) + ECHO SectionGroupEnd >> visualization-addons.nsi +) + +SET Counter=1 IF EXIST BUILD_WIN32\addons\skin.* ( ECHO SectionGroup "Skin Add-ons" SecSkinAddons >> skin-addons.nsi FOR /F "tokens=*" %%P IN ('dir /B /AD BUILD_WIN32\addons\skin.*') DO ( diff --git a/project/Win32BuildSetup/genNsisInstaller.nsi b/project/Win32BuildSetup/genNsisInstaller.nsi index 50289c6ea1..5603a47851 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 "visualization-addons.nsi" ;-------------------------------- ;Descriptions |