Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

[win32]cosmetic: clean up the pvr addon names in the installer

  • Loading branch information...
commit 1a69eb0db3d451a703105358ee3bfa93f45f1521 1 parent 9184b78
@MartijnKaijser MartijnKaijser authored
Showing with 3 additions and 1 deletion.
  1. +3 −1 project/Win32BuildSetup/genNsisIncludes.bat
View
4 project/Win32BuildSetup/genNsisIncludes.bat
@@ -26,7 +26,9 @@ FOR /F "tokens=*" %%S IN ('dir /B /AD BUILD_WIN32\Xbmc\language') DO (
SET Counter=1
FOR /F "tokens=*" %%P IN ('dir /B /AD BUILD_WIN32\Xbmc\xbmc-pvr-addons') DO (
- ECHO Section "%%P" SecPvrAddons!Counter! >> xbmc-pvr-addons.nsi
+ SET "output=%%P"
+ SET output=!output:pvr.=!
+ ECHO Section !output! SecPvrAddons!Counter! >> xbmc-pvr-addons.nsi
ECHO SectionIn 1 #section is in installtype Full >> xbmc-pvr-addons.nsi
ECHO SetOutPath "$INSTDIR\addons\%%P" >> xbmc-pvr-addons.nsi
ECHO File /r "${xbmc_root}\Xbmc\xbmc-pvr-addons\%%P\*.*" >> xbmc-pvr-addons.nsi
Please sign in to comment.
Something went wrong with that request. Please try again.