We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 1228f3d commit 7d5f899Copy full SHA for 7d5f899
push.bat
@@ -0,0 +1,2 @@
1
+bash push.sh
2
+PAUSE
push.sh
@@ -0,0 +1,17 @@
+#!/usr/bin/env sh
+# Push and Install Zip
3
+# Copyright 2022, VR25
4
+# License: GPLv3+
5
+#
6
+# usage: $0 [adb device]
7
+
8
+id=$(sed -n "s/^id=//p" module.prop)
9
+version="$(sed -n 1p changelog.md | sed 's/[*()]//g')"
10
+versionCode=${version#* }
11
+version=${version% *}
12
+zip=${id}_${version}_$versionCode
13
+zip=$(echo _builds/$zip/$zip*zip)
14
+dest=/sdcard/Download/${zip##*/}
15
16
+adb $([ -z "${1-}" ] || echo "-s $1") push $zip $dest \
17
+ && adb $([ -z "${1-}" ] || echo "-s $1") shell su -c magisk --install-module $dest || :
0 commit comments