Skip to content

Commit

Permalink
Update Create Installer
Browse files Browse the repository at this point in the history
  • Loading branch information
andrewjswan committed Mar 27, 2024
1 parent a6962ff commit f77e72e
Showing 1 changed file with 8 additions and 1 deletion.
9 changes: 8 additions & 1 deletion scripts/Create_Installer.bat
Original file line number Diff line number Diff line change
Expand Up @@ -15,5 +15,12 @@ IF NOT EXIST "%PROGS%\Team MediaPortal\MediaPortal\" SET PROGS=C:
:: Get version from DLL
FOR /F "tokens=*" %%i IN ('Tools\sigcheck.exe /accepteula /nobanner /n "..\FanartHandler\bin\Release\FanartHandler.dll"') DO (SET version=%%i)

:: Temp xmp2 file
copy /Y fanarthandler.xmp2 fanarthandlertemp.xmp2

:: Build MPE1
"%PROGS%\Team MediaPortal\MediaPortal\MPEMaker.exe" fanarthandler.xmp2 /B /V=%version% /UpdateXML
"%PROGS%\Team MediaPortal\MediaPortal\MPEMaker.exe" fanarthandlertemp.xmp2 /B /V=%version% /UpdateXML

:: Cleanup
del fanarthandlertemp.xmp2

0 comments on commit f77e72e

Please sign in to comment.