From fffc0e99ea60e1b243da2b5e743f94d4fdac2040 Mon Sep 17 00:00:00 2001 From: linsui Date: Fri, 18 Nov 2022 15:57:41 +0800 Subject: [PATCH] misc fixes --- metadata/chat.fluffy.fluffychat.yml | 7 ++- metadata/com.LAPARCELA.nihonoari.yml | 18 ++++++- metadata/com.github.libretube.yml | 1 + metadata/com.zulipmobile.yml | 70 +--------------------------- 4 files changed, 22 insertions(+), 74 deletions(-) diff --git a/metadata/chat.fluffy.fluffychat.yml b/metadata/chat.fluffy.fluffychat.yml index 5e9d2cd501..d4df31a824 100644 --- a/metadata/chat.fluffy.fluffychat.yml +++ b/metadata/chat.fluffy.fluffychat.yml @@ -116,10 +116,10 @@ Builds: commit: 19c4756e4773261807c3efb9e1cc0c32afbfbefc sudo: - apt-get update - - apt-get install -y ninja-build openjdk-11-jdk-headless + - apt-get install -y ninja-build output: build/app/outputs/flutter-apk/app-release.apk srclibs: - - flutter@3.3.0 + - flutter@3.3.8 rm: - ios - linux @@ -128,8 +128,7 @@ Builds: - web - windows - winuwp - prebuild: JAVA_HOME=/usr/lib/jvm/java-8-openjdk-amd64 $$SDK$$/tools/bin/sdkmanager - 'cmake;3.18.1' + prebuild: sdkmanager 'cmake;3.18.1' build: - $$flutter$$/bin/flutter config --no-analytics - $$flutter$$/bin/flutter build apk --release diff --git a/metadata/com.LAPARCELA.nihonoari.yml b/metadata/com.LAPARCELA.nihonoari.yml index 403b8c6e81..9be5586bb0 100644 --- a/metadata/com.LAPARCELA.nihonoari.yml +++ b/metadata/com.LAPARCELA.nihonoari.yml @@ -77,6 +77,7 @@ Builds: - versionName: 1.7.0 versionCode: 10 + disable: doesn't start commit: d98b87efa6ddfe2529756c51ed33701febbcd55c output: build/app/outputs/flutter-apk/app-release.apk srclibs: @@ -88,8 +89,21 @@ Builds: - $$flutter$$/bin/flutter config --no-analytics - $$flutter$$/bin/flutter build apk + - versionName: 1.7.1 + versionCode: 11 + commit: f19bf9d4ffba6c9145af825e1f32f91be8d24345 + output: build/app/outputs/flutter-apk/app-release.apk + srclibs: + - flutter@2.5.3 + rm: + - ios + - android/app/proguard-rules.pro + build: + - $$flutter$$/bin/flutter config --no-analytics + - $$flutter$$/bin/flutter build apk + AutoUpdateMode: Version UpdateCheckMode: Tags ^v.*$ UpdateCheckData: pubspec.yaml|version:\s.+\+(\d+)|.|version:\s(.+)\+ -CurrentVersion: 1.7.0 -CurrentVersionCode: 10 +CurrentVersion: 1.7.1 +CurrentVersionCode: 11 diff --git a/metadata/com.github.libretube.yml b/metadata/com.github.libretube.yml index 5c0779ef24..048f4d270b 100644 --- a/metadata/com.github.libretube.yml +++ b/metadata/com.github.libretube.yml @@ -182,6 +182,7 @@ Builds: - versionName: 0.7.1 versionCode: 22 + disable: crash commit: 1d1f2d779705fcc7032798356cb77b2ccd481ce0 subdir: app gradle: diff --git a/metadata/com.zulipmobile.yml b/metadata/com.zulipmobile.yml index bd53bd4670..ba2ba4d880 100644 --- a/metadata/com.zulipmobile.yml +++ b/metadata/com.zulipmobile.yml @@ -214,75 +214,9 @@ Builds: - mv $$react-native-reanimated$$/build/outputs/aar/android-release.aar ../../node_modules/react-native-reanimated/android/react-native-reanimated-67-jsc.aar ndk: r23c - - versionName: '27.193' - versionCode: 193 - disable: reanimated build failed - commit: 6fc6189a42061738603bb8052f75aa73cf9a6b32 - subdir: android/app - sudo: - - curl -Lo node.tar.gz https://nodejs.org/dist/v16.18.0/node-v16.18.0-linux-x64.tar.gz - - echo "faca6476cb5b41aa995370fd856d16fcfbbef5c18718a6fa44cc1bae4140849d node.tar.gz" - | sha256sum -c - - - tar xzf node.tar.gz --strip-components=1 -C /usr/local/ - - npm -g install yarn - - sysctl fs.inotify.max_user_watches=524288 || true - gradle: - - yes - srclibs: - - react-native-reanimated@2.2.4 - rm: - - android/app/src/main/java/com/zulipmobile/notifications/FcmListenerService.java - - ios - prebuild: - - sed -i -e 's/enable true/enable false/' -e '/firebase/d' -e "/android {/a - packagingOptions {pickFirst 'lib/*/*.so'}" build.gradle - - sed -i -e '//d' -e '/com.zulipmobile/a ' -e '/com.zulipmobile/a ' src/main/AndroidManifest.xml - - sed -i -e '/firebase/d' -e '/FirebaseInstanceId/,/addOnFailureListener/d' - src/main/java/com/zulipmobile/notifications/NotificationsModule.java - - cd ../.. - - yarn install - - sed -i -e '/installreferrer/,+11d' node_modules/react-native-device-info/android/build.gradle - - sed -i -e '/checkCompatibility/,/^ });/d' src/boot/CompatibilityChecker.js - scanignore: - - android/build.gradle - - node_modules/jsc-android - - node_modules/react-native/android - - node_modules/react-native/ReactAndroid/build.gradle - - node_modules/react-native-device-info/android/build.gradle - - node_modules/react-native-safe-area-context/android/build.gradle - - node_modules/react-native-screens/android/build.gradle - - node_modules/react-native-vector-icons/android/build.gradle - - node_modules/react-native-webview/android/build.gradle - - node_modules/expo/android/build.gradle - - node_modules/expo-application/android/build.gradle - - node_modules/expo-constants/android/build.gradle - - node_modules/expo-error-recovery/android/build.gradle - - node_modules/expo-file-system/android/build.gradle - - node_modules/expo-font/android/build.gradle - - node_modules/expo-keep-awake/android/build.gradle - - node_modules/expo-modules-core/android/build.gradle - - node_modules/expo-screen-orientation/android/build.gradle - - node_modules/expo-sqlite/android/build.gradle - - node_modules/expo-web-browser/android/build.gradle - - node_modules/@react-native-async-storage/async-storage/android/build.gradle - - node_modules/@react-native-community/masked-view/android/build.gradle - - node_modules/@react-native-community/netinfo/android/build.gradle - - node_modules/@react-native-community/push-notification-ios/android/build.gradle - scandelete: - - node_modules - build: - - pushd $$react-native-reanimated$$ - - yarn add react-native@0.67.4 - - gradle :assembleRelease - - popd - - mv $$react-native-reanimated$$/build/outputs/aar/android-release.aar ../../node_modules/react-native-reanimated/android/react-native-reanimated-67-jsc.aar - ndk: r23c - - versionName: '27.194' versionCode: 194 + disable: reanimated build failed commit: 26111e8f434df737d60bd7612e770cd058aa08e2 subdir: android/app sudo: @@ -347,7 +281,7 @@ Builds: - mv $$react-native-reanimated$$/build/outputs/aar/android-release.aar ../../node_modules/react-native-reanimated/android/react-native-reanimated-67-jsc.aar ndk: r23c -AutoUpdateMode: Version +AutoUpdateMode: None UpdateCheckMode: Tags CurrentVersion: '27.194' CurrentVersionCode: 194