Skip to content

Commit

Permalink
Update
Browse files Browse the repository at this point in the history
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."
  • Loading branch information
ipdev99 committed Jul 16, 2023
1 parent 004d550 commit ef35f90
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions service.sh
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit ef35f90

Please sign in to comment.