Feature: [Actions] Package builds for the Windows Store automatically

This commit is contained in:
Owen Rudge
2021-02-04 22:09:38 +00:00
parent 5b86bce7b2
commit 5a6ea11ead
12 changed files with 523 additions and 0 deletions

View File

@@ -0,0 +1,14 @@
@echo off
if [%1]==[] goto err
powershell -File "%~dp0set-version.ps1" %1 > "%temp%\ottd-set-version.bat"
if not errorlevel 0 goto err
call "%temp%\ottd-set-version.bat"
del /q "%temp%\ottd-set-version.bat"
@rem Version number will now be in %OTTD_VERSION%
goto :eof
:err
echo Please supply the path of openttd.exe as the argument to this batch file.