mirror of
https://gitlab.com/famedly/fluffychat.git
synced 2025-04-05 23:48:19 +02:00
chore: add p2020 metadata as CI variables
Signed-off-by: TheOneWithTheBraid <the-one@with-the-braid.cf>
This commit is contained in:
parent
8e6d1d3a42
commit
8c4c20969b
@ -171,18 +171,18 @@ build_p2022_android:
|
||||
before_script:
|
||||
- apt update && apt install -y moreutils
|
||||
- git apply ./scripts/enable-android-google-services.patch
|
||||
- sed -i 's/im.fluffychat.fluffychat/de.brandenburg.polizei.messenger/g' android/app/build.gradle
|
||||
- sed -i 's/im.fluffychat.fluffychat/de.brandenburg.polizei.messenger/g' lib/config/app_config.dart
|
||||
- sed -i 's/im.fluffychat/de.brandenburg.polizei/g' lib/config/app_config.dart
|
||||
- sed -i 's/255, 135, 103, 172/255, 33, 150, 243/g' lib/config/app_config.dart
|
||||
- sed -i 's/https\:\/\/push\.fluffychat\.im\/_matrix\/push\/v1\/notify\/https:\/\/janian.de\/_matrix\/push\/v1\/notify/g' lib/config/app_config.dart
|
||||
- sed -i 's/\$version/\$version-ACAB/g' lib/utils/platform_infos.dart
|
||||
- find assets/l10n -name "*.arb" -exec sed -i 's/FluffyChat/BB Messenger/g' {} +
|
||||
- sed -i "s/im.fluffychat.fluffychat/${P2020_APP_ORG}.messenger/g" android/app/build.gradle
|
||||
- sed -i "s/im.fluffychat.fluffychat/${P2020_APP_ORG}.messenger/g" lib/config/app_config.dart
|
||||
- sed -i "s/im.fluffychat/${P2020_APP_ORG}/g" lib/config/app_config.dart
|
||||
- sed -i "s/255, 135, 103, 172/255, 33, 150, 243/g" lib/config/app_config.dart
|
||||
- sed -i "s/https\:\/\/push\.fluffychat\.im\/_matrix\/push\/v1\/notify\/https:\/\/janian.de\/_matrix\/push\/v1\/notify/g" lib/config/app_config.dart
|
||||
- sed -i "s/\$version/\$version-ACAB/g" lib/utils/platform_infos.dart
|
||||
- find assets/l10n -name "*.arb" -exec sed -i "s/FluffyChat/${P2020_APP_NAME}/g" {} +
|
||||
- |
|
||||
for i in assets/l10n/*.arb; do
|
||||
jq '.welcomeText = "Brandenburg Polizei Messenger"' $i | sponge $i
|
||||
jq '.welcomeText = "'"${P2020_APP_NAME}"'"' $i | sponge $i
|
||||
done
|
||||
- sed -i 's/FluffyChat/BB Messenger/g' lib/config/app_config.dart
|
||||
- sed -i "s/FluffyChat/${P2020_APP_NAME}/g" lib/config/app_config.dart
|
||||
- flutter gen-l10n
|
||||
- cat ${P2020_BRANDING} | base64 -d > p2020_branding.tar
|
||||
- tar -xf p2020_branding.tar
|
||||
|
Loading…
x
Reference in New Issue
Block a user