aboutsummaryrefslogtreecommitdiff
path: root/Src/installer/winamp/sections/grp_uiext.nsh
diff options
context:
space:
mode:
authorJef <jef@targetspot.com>2024-09-24 08:54:57 -0400
committerJef <jef@targetspot.com>2024-09-24 08:54:57 -0400
commit20d28e80a5c861a9d5f449ea911ab75b4f37ad0d (patch)
tree12f17f78986871dd2cfb0a56e5e93b545c1ae0d0 /Src/installer/winamp/sections/grp_uiext.nsh
parent537bcbc86291b32fc04ae4133ce4d7cac8ebe9a7 (diff)
downloadwinamp-20d28e80a5c861a9d5f449ea911ab75b4f37ad0d.tar.gz
Initial community commit
Diffstat (limited to 'Src/installer/winamp/sections/grp_uiext.nsh')
-rw-r--r--Src/installer/winamp/sections/grp_uiext.nsh64
1 files changed, 64 insertions, 0 deletions
diff --git a/Src/installer/winamp/sections/grp_uiext.nsh b/Src/installer/winamp/sections/grp_uiext.nsh
new file mode 100644
index 00000000..90ec3c39
--- /dev/null
+++ b/Src/installer/winamp/sections/grp_uiext.nsh
@@ -0,0 +1,64 @@
+SectionGroup $(IDS_GRP_UIEXTENSION) IDX_GRP_UIEXTENSION ; User Interface Extensions
+ ${WinampSection} "GlobalHotkeys" $(secHotKey) IDX_SEC_HOTKEY ; >>> [Global Hotkey Support]
+ ${SECTIONIN_LITE}
+ SetOutPath $INSTDIR\Plugins
+ File ${FILES_PATH}\Plugins\gen_hotkeys.dll
+ ${WinampSectionEnd} ; <<< [Global Hotkey Support]
+
+ ${WinampSection} "TrayControl" $(secTray) IDX_SEC_TRAYCTRL ; >>> [Nullsoft Tray Control]
+ ${SECTIONIN_LITE}
+ SetOutPath $INSTDIR\Plugins
+ File ${FILES_PATH}\Plugins\gen_tray.dll
+ ${WinampSectionEnd} ; <<< [Nullsoft Tray Control]
+
+!ifndef WINAMP64
+!ifdef full | std
+ ${WinampSection} "FreeformSkins" $(compModernSkin) IDX_SEC_FREEFORM ; >>> [Modern Skin Support]
+ ${SECTIONIN_STD}
+ SetOutPath $INSTDIR\System
+ File "${FILES_PATH}\System\filereader.w5s"
+ ; File /nonfatal "${FILES_PATH}\System\filereader.wbm"
+ ; File "${FILES_PATH}\System\dlmgr.w5s"
+ ; File /nonfatal "${FILES_PATH}\System\dlmgr.wbm"
+ File "${FILES_PATH}\System\wac_downloadManager.w5s"
+ File "${FILES_PATH}\System\timer.w5s"
+
+ SetOutPath $INSTDIR\Plugins
+ File ${FILES_PATH}\Plugins\gen_ff.dll
+
+ DetailPrint "$(IDS_RUN_EXTRACT) $(IDS_DEFAULT_SKIN)..."
+ SetDetailsPrint none
+
+ File /r /x CVS /x *.psd "..\..\resources\data\Freeform"
+ Delete $INSTDIR\Plugins\Freeform\wacs\jpgload\jpgload.wac
+ SetOutPath $INSTDIR\Plugins\Freeform\wacs\freetype
+ File ${FILES_PATH}\Plugins\Freeform\wacs\freetype\freetype.wac
+
+ SetOutPath $SETTINGSDIR
+ File "..\..\resources\data\links.xml"
+
+ Call GetSkinDir
+ Pop $R0
+
+ SetOutPath "$R0\${MODERNSKINNAME}"
+ File /r /x CVS /x *.mi /x *.bat /x *.m "..\..\resources\skins\${MODERNSKINNAME}\*.*"
+
+ SetOutPath "$R0\Bento"
+ File /r /x CVS /x *.mi /x *.m /x *.psd "..\..\resources\skins\Bento\*.*"
+
+ SetOutPath "$R0\Big Bento"
+ File /r /x CVS /x *.mi /x *.bat /x *.m /x *.psd "..\..\resources\skins\Big Bento\*.*"
+
+ SetDetailsPrint lastused
+ SetOutPath "$INSTDIR\Plugins"
+
+ ReadIniStr $0 "$WINAMPINI" "Winamp" "skin"
+ ${If} "$0" == "Winamp Bento"
+ WriteIniStr "$WINAMPINI" "Winamp" "skin" "Bento"
+ ${EndIf}
+ ${WinampSectionEnd} ; <<< [Modern Skin Support]
+!endif ; full | std
+!endif ; WINAMP64
+
+ ${FrenchRadio_InsertInstallSections}
+SectionGroupEnd ; User Interface Extensions \ No newline at end of file