From 951d96051fe7666931c9e1eff2f30ac4cf295321 Mon Sep 17 00:00:00 2001 From: becknik Date: Tue, 29 Jul 2025 20:59:44 +0200 Subject: [PATCH 1/2] chore: add .envrc and shell.nix for direnv and nix support --- .envrc | 1 + .gitignore | 3 ++- shell.nix | 8 ++++++++ 3 files changed, 11 insertions(+), 1 deletion(-) create mode 100644 .envrc create mode 100644 shell.nix diff --git a/.envrc b/.envrc new file mode 100644 index 0000000..1d953f4 --- /dev/null +++ b/.envrc @@ -0,0 +1 @@ +use nix diff --git a/.gitignore b/.gitignore index d8eaf97..389384d 100644 --- a/.gitignore +++ b/.gitignore @@ -2,4 +2,5 @@ *.zip /dist /logs -/module-* \ No newline at end of file +/module-* +/.direnv diff --git a/shell.nix b/shell.nix new file mode 100644 index 0000000..f204201 --- /dev/null +++ b/shell.nix @@ -0,0 +1,8 @@ +with import { }; +mkShell { + nativeBuildInputs = [ + jq + curlMinimal + zip + ]; +} From 848b519f6e0d3b1ad281b63bb8f60ef1df1e226b Mon Sep 17 00:00:00 2001 From: becknik Date: Tue, 29 Jul 2025 21:14:44 +0200 Subject: [PATCH 2/2] docs: hint possible mismatch between `remove_files` and ROM dirs --- README.md | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/README.md b/README.md index 1176937..fe4bb92 100644 --- a/README.md +++ b/README.md @@ -16,6 +16,10 @@ It requires Magisk to be installed obviously as it's a Magisk module. If you don > [!TIP] > It's a good idea to enable ADB debugging as well before installing in case of any issues. +> [!WARNING] +> Please make sure that the contents of the `remove_files` string in the [common.sh](./src/module-microg/common.sh) script exist on your device. +> If not, use a command like `# find -L /system -type f -name '**'` to find the correct path, replace it and then follow the [Build Instructions](#build). + 1. Download latest version from [releases](https://github.com/SelfRef/noogle-magisk/releases) - Or build it yourself 2. Install through Magisk app