[merge] alternative_package.sh: Fix fcm

Change-Id: I20bd57f80d59eed36438e4a29634d43ee57b854b
This commit is contained in:
SpiritCroc 2022-09-11 10:55:16 +02:00
parent 4f6ea312f5
commit 5751862c35
1 changed files with 2 additions and 1 deletions

View File

@ -29,6 +29,7 @@ require_clean_git
build_gradle="$mydir/vector-app/build.gradle" build_gradle="$mydir/vector-app/build.gradle"
src_dir="$mydir/vector/src" src_dir="$mydir/vector/src"
app_src_dir="$mydir/vector-app/src"
fastlane_dir="$mydir/fastlane" fastlane_dir="$mydir/fastlane"
if grep -q "de.spiritcroc.riotx.$package_add" "$build_gradle"; then if grep -q "de.spiritcroc.riotx.$package_add" "$build_gradle"; then
@ -98,7 +99,7 @@ case "$package_add" in
esac esac
sed -i "s|\"SchildiChat|\"$name_replace|g" "$build_gradle" sed -i "s|\"SchildiChat|\"$name_replace|g" "$build_gradle"
sed -i "s|de.spiritcroc.riotx|de.spiritcroc.riotx.$package_add|g" "$build_gradle" `find "$src_dir" -name google-services.json` `find "$src_dir" -name shortcuts.xml` sed -i "s|de.spiritcroc.riotx|de.spiritcroc.riotx.$package_add|g" "$build_gradle" `find "$app_src_dir" -name google-services.json` `find "$src_dir" -name shortcuts.xml`
sed -i "s|SchildiChat|$name_replace|g" `find "$fastlane_dir/metadata/android" -name "title.txt"` sed -i "s|SchildiChat|$name_replace|g" `find "$fastlane_dir/metadata/android" -name "title.txt"`