Skip to content

Commit

Permalink
Add action.sh to open LSPosed manager (#74)
Browse files Browse the repository at this point in the history
* Update customize.sh

* Create action.sh

* Keep WebUI as fallback

---------

Co-authored-by: JingMatrix <[email protected]>
  • Loading branch information
Keeperorowner and JingMatrix authored Oct 31, 2024
1 parent 8fb6afb commit be23421
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 0 deletions.
4 changes: 4 additions & 0 deletions magisk-loader/magisk_module/action.sh
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
DEFAULT_MANAGER_PACKAGE_NAME=org.lsposed.manager
INJECTED_PACKAGE_NAME=com.android.shell

am start -c "${DEFAULT_MANAGER_PACKAGE_NAME}.LAUNCH_MANAGER" "${INJECTED_PACKAGE_NAME}/.BugreportWarningActivity"
1 change: 1 addition & 0 deletions magisk-loader/magisk_module/customize.sh
Original file line number Diff line number Diff line change
Expand Up @@ -72,6 +72,7 @@ fi
ui_print "- Extracting module files"

extract "$ZIPFILE" 'module.prop' "$MODPATH"
extract "$ZIPFILE" 'action.sh' "$MODPATH"
extract "$ZIPFILE" 'post-fs-data.sh' "$MODPATH"
extract "$ZIPFILE" 'service.sh' "$MODPATH"
extract "$ZIPFILE" 'uninstall.sh' "$MODPATH"
Expand Down

0 comments on commit be23421

Please sign in to comment.