misc fixes

This commit is contained in:
linsui 2023-11-02 00:25:22 +08:00
parent 1c8a7a9832
commit 8788f9f89c
7 changed files with 23 additions and 10 deletions

View File

@ -101,7 +101,7 @@ Builds:
- foss
rm:
- wear
prebuild: sed -i -e '/wear/d' build.gradle ../settings.gradle
prebuild: sed -i -e '/wear/d' build.gradle.kts ../settings.gradle.kts
AutoUpdateMode: Version
UpdateCheckMode: Tags

View File

@ -13156,9 +13156,9 @@ Builds:
- .yarn/
ndk: r23b
- versionName: 3.181.2
versionCode: 3002792
commit: '@standardnotes/mobile@3.181.2'
- versionName: 3.181.6
versionCode: 3002796
commit: '@standardnotes/mobile@3.181.6'
subdir: packages/mobile/android/app
sudo:
- apt-get update
@ -13210,5 +13210,5 @@ UpdateCheckMode: HTTP
VercodeOperation:
- 3002000 + %c
UpdateCheckData: https://github.com/standardnotes/app/actions/workflows/mobile.release.prod.yml|(\d+)\sworkflow\sruns|https://github.com/standardnotes/app/releases|/releases/tag/%40standardnotes%2Fmobile%40([\d.]+)
CurrentVersion: 3.181.2
CurrentVersionCode: 3002792
CurrentVersion: 3.181.6
CurrentVersionCode: 3002796

View File

@ -72,12 +72,19 @@ Builds:
sudo:
- apt-get update
- apt-get install -t bullseye-backports -y golang-go
- apt-get install -y gcc libc-dev
gradle:
- yes
srclibs:
- go@go1.20.10
prebuild:
- sdkmanager 'platforms;android-21'
- sed -i -e 's/-target android/-target android -androidapi 21/g' ../libs/yggdrasil-go/contrib/mobile/build
build:
- pushd $$go$$/src
- ./make.bash
- popd
- export PATH=$$go$$/bin:$PATH
- mkdir libs
- cd ..
- export GOPATH="$PWD/golang"

View File

@ -38,6 +38,7 @@ Builds:
- versionName: 1.1.0
versionCode: 4
disable: https://github.com/pastthepixels/FreePaint/issues/14
commit: 8e5f10f3adb4bee3d25fc6c3e9f5a6600f5fdecb
subdir: app
sudo:

View File

@ -1632,7 +1632,6 @@ Builds:
- rm packages/app-mobile/components/CameraView.js
- rm packages/app-mobile/components/screens/Note.js
patch:
- remove-camera.patch
- 0001-android-remove-legacy-support.patch
gradle:
- yes
@ -1650,6 +1649,7 @@ Builds:
prebuild:
- pushd ../../../..
- sed -i -e '/camera/d' -e '/geolocation/d' packages/app-mobile/package.json
- sed -i -e '/CameraView /d' packages/app-mobile/components/screens/Note.tsx
- YARN_ENABLE_IMMUTABLE_INSTALLS=false BUILD_SEQUENCIAL=1 yarn install
- sed -i -e '/installreferrer/,+11d' packages/app-mobile/node_modules/react-native-device-info/android/build.gradle
- pushd packages/app-mobile/node_modules/react-native-rsa-native/android
@ -1666,9 +1666,10 @@ Builds:
's|xmlns:android|xmlns:tools="http://schemas.android.com/tools" xmlns:android|'
src/main/AndroidManifest.xml
scanignore:
- .yarn/install-state.gz
- .yarn/cache/*.zip
- packages/app-mobile/node_modules/jsc-android
- packages/app-mobile/node_modules/react-native/build.gradle.kts
- packages/app-mobile/node_modules/@bam.tech/react-native-image-resizer/android/build.gradle
- packages/app-mobile/node_modules/@react-native-community/netinfo/android/build.gradle
- packages/app-mobile/node_modules/@react-native-community/push-notification-ios/android/build.gradle
- packages/app-mobile/node_modules/react-native-device-info/android/build.gradle
@ -1692,8 +1693,6 @@ Builds:
- packages/react-native-alarm-notification/node_modules
- packages/react-native-saf-x/node_modules
- node_modules
- .yarn/cache/
- .yarn/install-state.gz
build:
- pushd $$libvips$$
- mkdir build

View File

@ -150,6 +150,10 @@ Builds:
commit: 4ccaa689beeb220fda81df4eb8fb78f48e2abf05
subdir: app
submodules: true
sudo:
- apt-get update
- apt-get install -y openjdk-17-jdk-headless
- update-java-alternatives -a
gradle:
- yes

2
srclibs/go.yml Normal file
View File

@ -0,0 +1,2 @@
RepoType: git
Repo: https://github.com/golang/go.git