Skip to content

Commit ec54d43

Browse files
committed
add files required by Magisk
1 parent 4db0bd9 commit ec54d43

File tree

6 files changed

+30
-19
lines changed

6 files changed

+30
-19
lines changed

.github/workflows/build.sh

-13
This file was deleted.

.github/workflows/build.yml

-5
Original file line numberDiff line numberDiff line change
@@ -14,11 +14,6 @@ jobs:
1414
steps:
1515
- uses: actions/checkout@v4
1616

17-
- name: Run a one-line script
18-
env:
19-
USER_AGENT: ${{ secrets.USER_AGENT }}
20-
run: .github/workflows/build.sh
21-
2217
- name: Upload artifact for deployment job
2318
uses: actions/upload-artifact@v4
2419
with:
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,29 @@
1+
#################
2+
# Initialization
3+
#################
4+
5+
umask 022
6+
7+
# echo before loading util_functions
8+
ui_print() { echo "$1"; }
9+
10+
require_new_magisk() {
11+
ui_print "*******************************"
12+
ui_print " Please install Magisk v20.4+! "
13+
ui_print "*******************************"
14+
exit 1
15+
}
16+
17+
#########################
18+
# Load util_functions.sh
19+
#########################
20+
21+
OUTFD=$2
22+
ZIPFILE=$3
23+
24+
[ -f /data/adb/magisk/util_functions.sh ] || require_new_magisk
25+
. /data/adb/magisk/util_functions.sh
26+
[ $MAGISK_VER_CODE -lt 20400 ] && require_new_magisk
27+
28+
install_module
29+
exit 0
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
#MAGISK

module/system/product/priv-app/MIUIEsimLPA/.gitignore

-1
This file was deleted.
Binary file not shown.

0 commit comments

Comments
 (0)