mirror of
https://github.com/mitch030504/Wiicompiled_VR_Frame.git
synced 2026-10-06 04:04:18 +02:00
Refactor QuestSurface and Build-Quest scripts for improved surface handling and performance logging
This commit is contained in:
1 parent
e52227baf5
commit
75f0f5f26d
4 files changed
+87
-9
No files matched your search
@@ -57,9 +57,11 @@ if (-not $CMakeDir -or -not (Test-Path (Join-Path $CMakeDir 'bin\cmake.exe'))) {
|
||||
}
|
||||
$sdkCMake = Get-ChildItem -Path (Join-Path $sdkRoot 'cmake') -Directory | Sort-Object Name -Descending | Select-Object -First 1
|
||||
if ($sdkCMake) { $env:PATH = (Join-Path $sdkCMake.FullName 'bin') + ';' + $env:PATH }
|
||||
# Parenthesised: PowerShell's comma binds tighter than +, which would join both
|
||||
# properties into a single line.
|
||||
$localProperties = @(
|
||||
'sdk.dir=' + $sdkRoot.Replace('\', '\\'),
|
||||
'cmake.dir=' + $CMakeDir.Replace('\', '\\')
|
||||
('sdk.dir=' + $sdkRoot.Replace('\', '\\')),
|
||||
('cmake.dir=' + $CMakeDir.Replace('\', '\\'))
|
||||
)
|
||||
Set-Content -Path (Join-Path $root 'local.properties') -Value $localProperties -Encoding ascii
|
||||
|
||||
|
||||
Reference in new issue
Block a user