Download mobile/scripts/android-flash-prebuilt.mjs from Anirudh1950/MentraOS: direct link, hf CLI and curl.
- Browser
- Download file 346 Bytes
-
https://huggingface.co/Anirudh1950/MentraOS/resolve/main/mobile/scripts/android-flash-prebuilt.mjs
- Command line
-
hf download hf://Anirudh1950/MentraOS/mobile/scripts/android-flash-prebuilt.mjs
-
curl -L -o android-flash-prebuilt.mjs https://huggingface.co/Anirudh1950/MentraOS/resolve/main/mobile/scripts/android-flash-prebuilt.mjs
346 Bytes
| #!/usr/bin/env zx | |
| import { setBuildEnv } from './set-build-env.mjs'; | |
| await setBuildEnv(); | |
| console.log('Flashing last built Android release...'); | |
| // Install APK on device | |
| await $({ stdio: 'inherit' })`adb install -r android/app/build/outputs/apk/release/app-release.apk`; | |
| console.log('✅ Android release installed successfully!'); | |