mirror of
https://github.com/SK8-ENGINE/skate-3-rust-engine.git
synced 2026-10-26 19:47:44 +00:00
Stage updated kart build alongside the running executable
This commit is contained in:
1 parent
52adfee597
commit
37d65ed268
2 files changed
+3
-3
No files matched your search
@@ -3,7 +3,7 @@ $ErrorActionPreference = 'Stop'
|
||||
$privateDirectory = Join-Path $PSScriptRoot '.local/vehicle-sdk'
|
||||
$buildDirectory = Join-Path $privateDirectory 'build'
|
||||
$artifact = Join-Path $buildDirectory 'skate3rust-vehicle-sdk.exe'
|
||||
$destination = Join-Path $privateDirectory 'skate3-vehicle-sdk.exe'
|
||||
$destination = Join-Path $privateDirectory 'skate3-vehicle-sdk-controls.exe'
|
||||
Push-Location $PSScriptRoot
|
||||
$previousFlags = $env:CARGO_TARGET_X86_64_PC_WINDOWS_MSVC_RUSTFLAGS
|
||||
try {
|
||||
|
||||
+2
-2
@@ -9,7 +9,7 @@ if not defined SKATE3_ASSETS (
|
||||
pause
|
||||
exit /b 1
|
||||
)
|
||||
if not exist "%~dp0.local\vehicle-sdk\skate3-vehicle-sdk.exe" (
|
||||
if not exist "%~dp0.local\vehicle-sdk\skate3-vehicle-sdk-controls.exe" (
|
||||
echo Build missing. Run Build-VehicleSDK.ps1 first.
|
||||
pause
|
||||
exit /b 1
|
||||
@@ -20,5 +20,5 @@ echo Open Mods and ENABLE Mario Kart. F10 spawns the kart; E enters/exits. Escap
|
||||
echo WASD drive, Space brake, Shift handbrake, R reset. Slow down before exiting.
|
||||
echo Mods folder: %~dp0.local\vehicle-sdk\mods
|
||||
echo Trainer log: %~dp0.local\vehicle-sdk\session.log
|
||||
"%~dp0.local\vehicle-sdk\skate3-vehicle-sdk.exe" --assets "%SKATE3_ASSETS%" --start-paused %* > "%~dp0.local\vehicle-sdk\session.log" 2>&1
|
||||
"%~dp0.local\vehicle-sdk\skate3-vehicle-sdk-controls.exe" --assets "%SKATE3_ASSETS%" --start-paused %* > "%~dp0.local\vehicle-sdk\session.log" 2>&1
|
||||
if errorlevel 1 pause
|
||||
Reference in new issue
Block a user