Add build and install scripts
This commit is contained in:
parent
e8059d2fbd
commit
af81c26d98
3 changed files with 35 additions and 0 deletions
12
meta/build_android
Executable file
12
meta/build_android
Executable file
|
|
@ -0,0 +1,12 @@
|
|||
#!/usr/bin/env bash
|
||||
set -euo pipefail
|
||||
|
||||
pushd gdn-app
|
||||
pnpm install --frozen-lockfile
|
||||
pnpm tauri android build --apk
|
||||
popd
|
||||
|
||||
mkdir -p target/release/
|
||||
mv gdn-app/src-tauri/gen/android/app/build/outputs/apk/universal/release/app-universal-release.apk target/release/gdn-app.apk
|
||||
|
||||
echo "gdn-app.apk can be found at target/release/gdn-app.apk"
|
||||
Loading…
Add table
Add a link
Reference in a new issue