From 145d67aa8bc33512e4ca0510f3b30c17c5477d3d Mon Sep 17 00:00:00 2001 From: Ave Ozkal Date: Thu, 11 Jul 2019 15:03:23 +0300 Subject: [PATCH] Some fixes for 9.1.2, still doesn't build --- ctcci/ctcci.py | 2 ++ patches/branding/customdynamicicon.sh | 2 -- patches/branding/customicon.sh | 2 -- 3 files changed, 2 insertions(+), 4 deletions(-) diff --git a/ctcci/ctcci.py b/ctcci/ctcci.py index e7bdf53..d380079 100644 --- a/ctcci/ctcci.py +++ b/ctcci/ctcci.py @@ -23,6 +23,8 @@ def patch(patch_file, workdir, patch_name=""): raise FileNotFoundError(f"No patches with name \"{patch_file}\" :(") + print(f"Applying {patch_file}") + subprocess.run(f"patch -p1 --no-backup-if-mismatch -i {patch_file}", shell=True, check=True, cwd=workdir) diff --git a/patches/branding/customdynamicicon.sh b/patches/branding/customdynamicicon.sh index ee4c883..750bb67 100644 --- a/patches/branding/customdynamicicon.sh +++ b/patches/branding/customdynamicicon.sh @@ -1,9 +1,7 @@ \cp res/mipmap-xxxhdpi/ic_launcher_background.png res/mipmap-hdpi/ic_launcher_background.png -\cp res/mipmap-xxxhdpi/ic_launcher_background.png res/mipmap-mdpi/ic_launcher_background.png \cp res/mipmap-xxxhdpi/ic_launcher_background.png res/mipmap-xhdpi/ic_launcher_background.png \cp res/mipmap-xxxhdpi/ic_launcher_background.png res/mipmap-xxhdpi/ic_launcher_background.png \cp res/mipmap-xxxhdpi/ic_launcher_foreground.png res/mipmap-hdpi/ic_launcher_foreground.png -\cp res/mipmap-xxxhdpi/ic_launcher_foreground.png res/mipmap-mdpi/ic_launcher_foreground.png \cp res/mipmap-xxxhdpi/ic_launcher_foreground.png res/mipmap-xhdpi/ic_launcher_foreground.png \cp res/mipmap-xxxhdpi/ic_launcher_foreground.png res/mipmap-xxhdpi/ic_launcher_foreground.png diff --git a/patches/branding/customicon.sh b/patches/branding/customicon.sh index 93500c7..15217d6 100644 --- a/patches/branding/customicon.sh +++ b/patches/branding/customicon.sh @@ -1,11 +1,9 @@ \cp res/mipmap-xxxhdpi/logo_debug.png res/mipmap-hdpi/ic_logo.png -\cp res/mipmap-xxxhdpi/logo_debug.png res/mipmap-mdpi/ic_logo.png \cp res/mipmap-xxxhdpi/logo_debug.png res/mipmap-xhdpi/ic_logo.png \cp res/mipmap-xxxhdpi/logo_debug.png res/mipmap-xxhdpi/ic_logo.png \cp res/mipmap-xxxhdpi/logo_debug.png res/mipmap-xxxhdpi/ic_logo.png \cp res/mipmap-xxxhdpi/logo_debug.png res/mipmap-hdpi/ic_logo_round.png -\cp res/mipmap-xxxhdpi/logo_debug.png res/mipmap-mdpi/ic_logo_round.png \cp res/mipmap-xxxhdpi/logo_debug.png res/mipmap-xhdpi/ic_logo_round.png \cp res/mipmap-xxxhdpi/logo_debug.png res/mipmap-xxhdpi/ic_logo_round.png \cp res/mipmap-xxxhdpi/logo_debug.png res/mipmap-xxxhdpi/ic_logo_round.png