Update Units Tool 1.0.6

This commit is contained in:
Thibaut B 2022-09-20 14:32:09 +00:00 committed by linsui
parent 27dc82120a
commit 7ba497ad71

View file

@ -142,22 +142,24 @@ Builds:
- versionName: 1.0.6
versionCode: 5
disable: crashes
commit: 4180b9c7cfc17911e2df6ee640451e2486e0dc2f
subdir: android/app
sudo:
- apt-get update || apt-get update
- apt-get install -y librsvg2-bin openjdk-11-jdk-headless
- apt-get install -y openjdk-11-jdk-headless
- update-alternatives --auto java
- curl -Lo node.tar.xz https://nodejs.org/dist/v16.13.1/node-v16.13.1-linux-x64.tar.xz
- echo "a3721f87cecc0b52b0be8587c20776ac7305db413751db02c55aa2bffac15198 node.tar.xz"
| sha256sum -c -
- tar xJf node.tar.xz
- cp -a node-v16.13.1-linux-x64/. /usr/local/
- tar xJf node.tar.xz --strip-components=1 -C /usr/local/
init:
- sed -i 's/enableSeparateBuildPerCPUArchitecture = true/enableSeparateBuildPerCPUArchitecture
= false/g' build.gradle
- sed -i 's/universalApk false/universalApk true/g' build.gradle
- npm install
- npx react-native bundle --platform android --dev false --entry-file index.js
--bundle-output src/main/assets/index.android.bundle
gradle:
- yes
scanignore:
@ -168,7 +170,7 @@ Builds:
- node_modules/react-native-screens/android/build.gradle
- node_modules/react-native-snackbar/android/build.gradle
- node_modules/react-native-vector-icons/android/build.gradle
- node_modules/@react-native-async-storage/async-storage/
- node_modules/@react-native-async-storage/async-storage/android/build.gradle
scandelete:
- node_modules/