Skip to content

Commit

Permalink
Merge branch 'harinworks-master'
Browse files Browse the repository at this point in the history
Issue: #558
Signed-off-by: Andrew Gunnerson <[email protected]>
  • Loading branch information
chenxiaolong committed Jun 11, 2024
2 parents f85e469 + 5109776 commit 8eeef27
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 0 deletions.
1 change: 1 addition & 0 deletions app/build.gradle.kts
Original file line number Diff line number Diff line change
Expand Up @@ -376,6 +376,7 @@ android.applicationVariants.all {
from(File(magiskDir, "boot_common.sh"))
from(File(magiskDir, "post-fs-data.sh"))
from(File(magiskDir, "service.sh"))
from(File(magiskDir, "customize.sh"))

from(File(rootDir, "LICENSE"))
from(File(rootDir, "README.md"))
Expand Down
5 changes: 5 additions & 0 deletions app/magisk/customize.sh
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
#!/system/bin/sh

# Delete addon.d script when installing as Magisk module to prevent
# update_engine from executing it on A/B devices.
[ -n "$MODPATH" ] && rm -r "$MODPATH/system/addon.d"

0 comments on commit 8eeef27

Please sign in to comment.