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 - foss
rm: rm:
- wear - 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 AutoUpdateMode: Version
UpdateCheckMode: Tags UpdateCheckMode: Tags

View file

@ -13156,9 +13156,9 @@ Builds:
- .yarn/ - .yarn/
ndk: r23b ndk: r23b
- versionName: 3.181.2 - versionName: 3.181.6
versionCode: 3002792 versionCode: 3002796
commit: '@standardnotes/mobile@3.181.2' commit: '@standardnotes/mobile@3.181.6'
subdir: packages/mobile/android/app subdir: packages/mobile/android/app
sudo: sudo:
- apt-get update - apt-get update
@ -13210,5 +13210,5 @@ UpdateCheckMode: HTTP
VercodeOperation: VercodeOperation:
- 3002000 + %c - 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.]+) 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 CurrentVersion: 3.181.6
CurrentVersionCode: 3002792 CurrentVersionCode: 3002796

View file

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

View file

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

View file

@ -1632,7 +1632,6 @@ Builds:
- rm packages/app-mobile/components/CameraView.js - rm packages/app-mobile/components/CameraView.js
- rm packages/app-mobile/components/screens/Note.js - rm packages/app-mobile/components/screens/Note.js
patch: patch:
- remove-camera.patch
- 0001-android-remove-legacy-support.patch - 0001-android-remove-legacy-support.patch
gradle: gradle:
- yes - yes
@ -1650,6 +1649,7 @@ Builds:
prebuild: prebuild:
- pushd ../../../.. - pushd ../../../..
- sed -i -e '/camera/d' -e '/geolocation/d' packages/app-mobile/package.json - 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 - 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 - 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 - 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|' 's|xmlns:android|xmlns:tools="http://schemas.android.com/tools" xmlns:android|'
src/main/AndroidManifest.xml src/main/AndroidManifest.xml
scanignore: scanignore:
- .yarn/install-state.gz
- .yarn/cache/*.zip
- packages/app-mobile/node_modules/jsc-android - packages/app-mobile/node_modules/jsc-android
- packages/app-mobile/node_modules/react-native/build.gradle.kts - 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/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-community/push-notification-ios/android/build.gradle
- packages/app-mobile/node_modules/react-native-device-info/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-alarm-notification/node_modules
- packages/react-native-saf-x/node_modules - packages/react-native-saf-x/node_modules
- node_modules - node_modules
- .yarn/cache/
- .yarn/install-state.gz
build: build:
- pushd $$libvips$$ - pushd $$libvips$$
- mkdir build - mkdir build

View file

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

2
srclibs/go.yml Normal file
View file

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