Skip to content
Browse files

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

  • Loading branch information...
1 parent 9184b78 commit 1a69eb0db3d451a703105358ee3bfa93f45f1521 @MartijnKaijser MartijnKaijser committed
Showing with 3 additions and 1 deletion.
  1. +3 −1 project/Win32BuildSetup/genNsisIncludes.bat
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

0 comments on commit 1a69eb0

Please sign in to comment.
Something went wrong with that request. Please try again.