mirror of
https://gitlab.com/lecarore/breakout71.git
synced 2025-04-25 14:36:15 -04:00
Pause when tab is hidden, using visibility change api
This commit is contained in:
parent
1a56b5f1d1
commit
33d74e8c84
68 changed files with 7290 additions and 6933 deletions
9
build.sh
9
build.sh
|
@ -1,7 +1,11 @@
|
|||
#!/bin/bash
|
||||
|
||||
# the version number is just a unix timestamp in minutes
|
||||
versionCode=$1
|
||||
|
||||
defaultVersionCode=$(($(date +%s) / 60))
|
||||
versionCode=${1:-$defaultVersionCode}
|
||||
|
||||
# TODO crash without app version
|
||||
|
||||
source ~/.nvm/nvm.sh;
|
||||
|
||||
|
@ -48,4 +52,5 @@ npm run build
|
|||
|
||||
rm -rf ./app/src/main/assets/*
|
||||
cp public/* dist
|
||||
cp dist/* ./app/src/main/assets/
|
||||
rm -rf ./app/src/main/assets/*
|
||||
cp dist/index.html ./app/src/main/assets/
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue