mirror of
https://github.com/SchildiChat/SchildiChat-android.git
synced 2024-11-21 17:05:39 +03:00
[merge] alternative_package.sh: Fix fcm
Change-Id: I20bd57f80d59eed36438e4a29634d43ee57b854b
This commit is contained in:
parent
4f6ea312f5
commit
5751862c35
1 changed files with 2 additions and 1 deletions
|
@ -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"`
|
||||||
|
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue