forked from X2CommunityCore/X2CommunityPromotionScreen
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathclean-cps.bat
More file actions
14 lines (11 loc) · 708 Bytes
/
clean-cps.bat
File metadata and controls
14 lines (11 loc) · 708 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
@echo off
if "%XCOM2SDKPATH%" == "" (
echo You need to specify the location of the XCOM 2 WOTC SDK in the XCOM2SDKPATH environment variable
exit /b 1
)
if "%XCOM2GAMEPATH%" == "" (
echo You need to specify the location of the XCOM 2 War of the Chosen game directory (typically ^<path to Steam^>\steamapps\common\XCOM 2\XCom2-WarOfTheChosen^)
exit /b 1
)
rem The trailing backslash after %~dp0 is important, otherwise PowerShell thinks the " is being escaped!
powershell.exe -NonInteractive -ExecutionPolicy Unrestricted -file "%~dp0.scripts\X2ModBuildCommon\clean.ps1" -srcDirectory "%~dp0\" -sdkPath "%XCOM2SDKPATH%" -gamePath "%XCOM2GAMEPATH%" -modName "X2WOTCCommunityPromotionScreen"