fix polygon selection and add steam deploy script

This commit is contained in:
2019-05-02 18:00:59 +02:00
parent 54c0df9ed6
commit d03f5441b0
6 changed files with 72 additions and 1 deletions

13
steam/build.bat Normal file
View File

@@ -0,0 +1,13 @@
@echo off
mkdir content
xcopy /I /D /Y /S "..\x64\Release\*.dll" content
xcopy /I /D /Y /S "..\data\*" content\data\
for /f %%i in ('git rev-parse --abbrev-ref HEAD') do set BRANCH=%%i
for /f %%i in ('git log "--pretty=format:%%h" -n 1') do set HASH=%%i
for /f %%i in ('git rev-list --count HEAD') do set COUNT=%%i
for /f %%i in ('git describe --tags "--abbrev=0"') do set TAG=%%i
set VERSION=%TAG%.%COUNT% (%HASH%-%BRANCH%)
echo Building version %VERSION%
set /p ID=<steamid.txt
steamcmd.exe +login %ID% +drm_wrap 954880 "%~dp0..\x64\Release\PanoPainter.exe" "%~dp0content\PanoPainter.exe" drmtoolp 0 +run_app_build -desc "%VERSION%" "%~dp0scripts\app_build_954880.vdf" +quit
pause