Files
Omika/tools/check_mobile_api_config.ps1
T
2026-10-23 18:46:50 +02:00

10 lines
338 B
PowerShell

$mobileApiConfig = Join-Path $env:LOCALAPPDATA "Omika\mobile-api.local.json"
$exists = Test-Path $mobileApiConfig
Write-Output "EXISTS=$exists"
Write-Output "PATH=$mobileApiConfig"
if ($exists) {
# Read the raw JSON structure (BaseUrl is not a secret)
$json = Get-Content $mobileApiConfig -Raw
Write-Output "RAW_JSON=$json"
}