mirror of
https://github.com/OpenRCT2/OpenRCT2
synced 2026-01-15 11:03:00 +01:00
move projects and add environment setup script
This commit is contained in:
@@ -37,7 +37,7 @@ function Build-OpenRCT2()
|
||||
{
|
||||
$target = "/t:rebuild"
|
||||
}
|
||||
msbuild ..\projects\openrct2.sln /p:Configuration=$Configuration /p:Platform=Win32 $target /v:minimal | Write-Host
|
||||
msbuild $rootPath\openrct2.sln /p:Configuration=$Configuration /p:Platform=Win32 $target /v:minimal | Write-Host
|
||||
return $LASTEXITCODE
|
||||
}
|
||||
|
||||
|
||||
@@ -5,7 +5,6 @@ param (
|
||||
[switch]$Force
|
||||
)
|
||||
Write-Host "Installing OpenRCT2 development environment for Windows" -ForegroundColor Cyan
|
||||
Import-Module ".\common.psm1" -DisableNameChecking
|
||||
|
||||
# Settings
|
||||
$libsUrl = "https://openrct2.website/files/orctlibs-vs.zip"
|
||||
@@ -21,6 +20,8 @@ $libsPath = Join-Path $rootPath "lib"
|
||||
$zipPath = Join-Path $libsPath "orctlibs.zip"
|
||||
$libsVersionPath = Join-Path $libsPath "libversion"
|
||||
|
||||
Import-Module "$scriptsPath\common.psm1" -DisableNameChecking
|
||||
|
||||
# Check if we need to update the dependencies
|
||||
$currentLibsVersion = 0
|
||||
$updateLibs = $true
|
||||
|
||||
1
scripts/run.ps1
Normal file
1
scripts/run.ps1
Normal file
@@ -0,0 +1 @@
|
||||
&("..\bin\openrct2.exe") $args
|
||||
Reference in New Issue
Block a user