From 275772483297ef8f8bb74e7d4f881139b3593bc5 Mon Sep 17 00:00:00 2001 From: Fox2Code Date: Sat, 2 Jul 2022 14:58:30 +0200 Subject: [PATCH] Fix ANSI being disabled by default instead of enabled by default. --- README.md | 11 +---------- .../mmm/installer/InstallerActivity.java | 4 ++-- examples/rainbow_module.zip | Bin 1018 -> 1018 bytes 3 files changed, 3 insertions(+), 12 deletions(-) diff --git a/README.md b/README.md index 5b7b015..df2164b 100644 --- a/README.md +++ b/README.md @@ -59,17 +59,8 @@ Support: [![Telegram Group](https://img.shields.io/endpoint?color=neon&style=flat&url=https%3A%2F%2Ftg.sumanjay.workers.dev%2Fandroidacy_discussions)](https://telegram.dog/androidacy_discussions) -#### [https://github.com/Magisk-Modules-Repo](https://github.com/Magisk-Modules-Repo) -- No longer accept new modules or receive update to existing modules -- May be shut down at any moment -- Official app dropped support for it -- No longer supported by Fox's mmm - -As the main repo may shutting down due to the main app no longer supporting it, stopped -accepting new modules, and also no longer receive updates since the 21 December 2021. - If a module is in multiple repos, the manager will just pick the most up to date version -of the module, allowing developers to switch repo at their own pace if they want to. +of the module, if a module is in multiple repos it will just use first registered repo. Note: If you or a friend uploaded a module and it doesn't appear in your module list you can disable the low quality filter in the app settings. diff --git a/app/src/main/java/com/fox2code/mmm/installer/InstallerActivity.java b/app/src/main/java/com/fox2code/mmm/installer/InstallerActivity.java index e7aaf8b..e9b0d27 100644 --- a/app/src/main/java/com/fox2code/mmm/installer/InstallerActivity.java +++ b/app/src/main/java/com/fox2code/mmm/installer/InstallerActivity.java @@ -403,8 +403,8 @@ public class InstallerActivity extends CompatActivity { installCommand).to(installerController, installerMonitor); } else { if ((compatFlags & AppUpdateManager.FLAG_COMPAT_NO_ANSI) != 0) - this.installerTerminal.enableAnsi(); - else this.installerTerminal.disableAnsi(); + this.installerTerminal.disableAnsi(); + else this.installerTerminal.enableAnsi(); installJob = Shell.cmd(arch32, "export MMM_EXT_SUPPORT=1", "export MMM_USER_LANGUAGE=" + (MainApplication.isForceEnglish() ? "en-US" : Resources.getSystem().getConfiguration().locale.toLanguageTag()), diff --git a/examples/rainbow_module.zip b/examples/rainbow_module.zip index 3a1953e8f345b762650d88bcad55cfb13f6e7d71..e223fe15c041de4374935ac7c1313e485125b74e 100644 GIT binary patch delta 56 zcmeyx{)?SAz?+#xgqeYXgQ2hN(MDbkW@aEg*@D?Zbi3kIp}rf84I!&