From ef35f909c09cd79e8229e316f726ac1567ef75a3 Mon Sep 17 00:00:00 2001 From: ipdev99 Date: Sun, 16 Jul 2023 16:50:57 -0500 Subject: [PATCH] Update MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit MODDIR was removed as a Magisk defualt variable. From Magisk's Docs. "In all scripts of your module, please use MODDIR=${0%/*} to get your module’s base directory path; do NOT hardcode your module path in scripts." --- service.sh | 2 ++ 1 file changed, 2 insertions(+) diff --git a/service.sh b/service.sh index 4b78cd4..4b0aa13 100644 --- a/service.sh +++ b/service.sh @@ -7,6 +7,8 @@ ## Required YouTube version is 17.49.37 ## Module directory(s) set by Magisk. +MODDIR=${0%/*} + # Module Directory MDIR=${0%/*} # Magisk Modules Directory