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 5d82b7f commit 7300040
Showing 1 changed file with 7 additions and 1 deletion.
8 changes: 7 additions & 1 deletion scripts/Create_Installer.bat
Original file line number Diff line number Diff line change
Expand Up @@ -15,5 +15,11 @@ 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 "..\LatestMediaHandler\bin\Release\LatestMediaHandler.dll"') DO (SET version=%%i)

:: Temp xmp2 file
copy /Y LatestMediaHandler.xmp2 LatestMediaHandlerTemp.xmp2

:: Build mpe1
"%PROGS%\Team MediaPortal\MediaPortal\MPEMaker.exe" LatestMediaHandler.xmp2 /B /V=%version% /UpdateXML
"%PROGS%\Team MediaPortal\MediaPortal\MPEMaker.exe" LatestMediaHandlerTemp.xmp2 /B /V=%version% /UpdateXML

:: Cleanup
del LatestMediaHandlerTemp.xmp2

0 comments on commit 7300040

Please sign in to comment.