You've already forked ReZygisk
mirror of
https://github.com/PerformanC/ReZygisk.git
synced 2025-09-06 06:37:01 +00:00
fix: building process; add: web UI JavaScript code
This commit both fixes the building process to include the webroot folder and adds the web UI JS code to allow it to fetch the values.
This commit is contained in:
@@ -110,6 +110,14 @@ mv "$TMPDIR/sepolicy.rule" "$MODPATH"
|
||||
mkdir "$MODPATH/bin"
|
||||
mkdir "$MODPATH/lib"
|
||||
mkdir "$MODPATH/lib64"
|
||||
mkdir "$MODPATH/webroot"
|
||||
|
||||
ui_print "- Extracting webroot"
|
||||
extract "$ZIPFILE" 'webroot/index.html' "$MODPATH/webroot" true
|
||||
extract "$ZIPFILE" 'webroot/assets/tick.svg' "$MODPATH/webroot/assets" true
|
||||
extract "$ZIPFILE" 'webroot/css/index.css' "$MODPATH/webroot/css" true
|
||||
extract "$ZIPFILE" 'webroot/js/main.js' "$MODPATH/webroot/js" true
|
||||
extract "$ZIPFILE" 'webroot/js/kernelsu.js' "$MODPATH/webroot/js" true
|
||||
|
||||
if [ "$ARCH" = "x86" ] || [ "$ARCH" = "x64" ]; then
|
||||
ui_print "- Extracting x86 libraries"
|
||||
|
||||
Reference in New Issue
Block a user