Created
November 11, 2024 11:10
-
-
Save kfird214/7849bfb187653a0554e44f1e65ba0a6e to your computer and use it in GitHub Desktop.
Oculus Upload underdogs
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# https://securecdn.oculus.com/binaries/download/?id=8172392066201260&access_token=OC%7C1196467420370658%7C | |
# make sure .bin directory exists | |
if (-not (Test-Path ".bin")) { | |
New-Item -ItemType Directory -Path ".bin" | |
} | |
# install ovr-platform-util from url into local cwd/.bin | |
$ovr = ".bin/ovr-platform-util.exe" | |
if (-not (Test-Path $ovr)) { | |
Invoke-WebRequest -Uri "https://securecdn.oculus.com/binaries/download/?id=8172392066201260&access_token=OC%7C1196467420370658%7C" -OutFile $ovr | |
} | |
$buildNumber = "8243"; | |
$versionName = "1.1.1.8240"; | |
$channel = "CI-CD-TEST"; | |
$notes = ""; | |
$appId = 5302178529865980; | |
$appSecret = ""; | |
$apk = "Underdogs.apk"; | |
$obb = "Underdogs.main.obb"; | |
$symbolsDir = "Underdogs-$versionName-v$buildNumber-IL2CPP.symbols"; | |
if (-not (Test-Path $symbolsDir -PathType Container)) { | |
Write-Error "Symbols directory does not exits: $symbolsDir"; | |
# exit 1; | |
} | |
if (-not (Test-Path $apk)) { | |
Write-Error "APK does not exits: $apk"; | |
# exit 1; | |
} | |
if (-not (Test-Path $obb)) { | |
Write-Error "OBB does not exits: $obb"; | |
# exit 1; | |
} | |
&$ovr self-update | |
&$ovr ` | |
upload-quest-build ` | |
--apk $apk ` | |
--obb $obb ` | |
--channel $channel ` | |
--app-id $appId ` | |
-app-secret $appSecret ` | |
--debug_symbols_dir $symbolsDir ` | |
--notes $notes |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment