File tree Expand file tree Collapse file tree 2 files changed +1
-48
lines changed
Expand file tree Collapse file tree 2 files changed +1
-48
lines changed Load Diff This file was deleted.
Original file line number Diff line number Diff line change @@ -108,20 +108,8 @@ build-android-all:
108108 Copy-Item -Force target/ x/ release/ android/ x64 / cargo/ x86 _64 -linux-android/ release/ libapp_core.so target/ x/ release/ android/ x64 / cargo/ x86 _64 -linux-android/ release/ libapp.so
109109
110110# Build the app for Android with OpenXR (arm64) for Meta Quest
111- [unix ]
112- build-android-openxr :
113- mv AndroidManifest.xml AndroidManifest.xml.bak
114- cp AndroidManifest.openxr.xml AndroidManifest.xml
115- x build --release --platform android --arch arm64 --features android-openxr || (mv AndroidManifest.xml.bak AndroidManifest.xml && exit 1 )
116- mv AndroidManifest.xml.bak AndroidManifest.xml
117- cp -f target/ x/ release/ android/ arm64 / cargo/ aarch64 -linux-android/ release/ libapp_core.so target/ x/ release/ android/ arm64 / cargo/ aarch64 -linux-android/ release/ libapp.so
118-
119- [windows ]
120111build-android-openxr :
121- Move-Item AndroidManifest.xml AndroidManifest.xml.bak
122- Copy-Item AndroidManifest.openxr.xml AndroidManifest.xml
123- x build --release --platform android --arch arm64 --features android-openxr; $r = $LASTEXITCODE; Move-Item -Force AndroidManifest.xml.bak AndroidManifest.xml; if ($r -ne 0) { exit $r }
124- Copy-Item -Force target/ x/ release/ android/ arm64 / cargo/ aarch64 -linux-android/ release/ libapp_core.so target/ x/ release/ android/ arm64 / cargo/ aarch64 -linux-android/ release/ libapp.so
112+ x build --release --platform android --arch arm64 --features android-openxr
125113
126114# Install the app on connected Android device
127115install-android device :
You can’t perform that action at this time.
0 commit comments