From b8eb92ae5189b857059c7de4b8eeec39b3700293 Mon Sep 17 00:00:00 2001 From: IMXEren <96839938+IMXEren@users.noreply.github.com> Date: Thu, 15 Aug 2024 11:45:06 +0530 Subject: [PATCH] Add missing package name for `xiaomi-wearable` (#547) * fix: Add missing package name for `xiaomi-wearable` * fix: Replace the deprecated keystore `alias` flag * chore: fix formatting --- src/parser.py | 6 +++++- src/patches.py | 1 + 2 files changed, 6 insertions(+), 1 deletion(-) diff --git a/src/parser.py b/src/parser.py index 55051ce..1801bb6 100644 --- a/src/parser.py +++ b/src/parser.py @@ -193,7 +193,11 @@ class Parser(object): args[1::2] = map(self.config.temp_folder.joinpath, args[1::2]) if app.old_key and "v4" in version: # https://github.com/ReVanced/revanced-cli/issues/272#issuecomment-1740587534 - old_key_flags = ["--alias=alias", "--keystore-entry-password=ReVanced", "--keystore-password=ReVanced"] + old_key_flags = [ + "--keystore-entry-alias=alias", + "--keystore-entry-password=ReVanced", + "--keystore-password=ReVanced", + ] args.extend(old_key_flags) if self.config.ci_test: self.exclude_all_patches() diff --git a/src/patches.py b/src/patches.py index caf390b..cd60305 100644 --- a/src/patches.py +++ b/src/patches.py @@ -73,6 +73,7 @@ class Patches(object): "com.myfitnesspal.android": "fitnesspal", "com.facebook.katana": "facebook", "io.syncapps.lemmy_sync": "lemmy-sync", + "com.xiaomi.wearable": "xiaomi-wearable", } @staticmethod