Skip to content

Commit e552d9b

Browse files
include v4afx.apk into the zip
this removes the online dependency, enabling offline installs and installing the module in case the domain ever goes down
1 parent 4446faa commit e552d9b

File tree

2 files changed

+1
-5
lines changed

2 files changed

+1
-5
lines changed

magiskmodule/common/install.sh

Lines changed: 1 addition & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -209,10 +209,6 @@ if [ ! -z "$FILES" ] && [ ! "$(echo $FILES | grep '/aml/')" ]; then
209209
sleep 3
210210
fi
211211

212-
ui_print "- Downloading latest apk..."
213-
# URL needs changed to real server
214-
(curl -k -o $MODPATH/v4afx.apk https://zackptg5.com/downloads/v4afx.apk) || abort " Download failed! Connect to internet and try again"
215-
216212
# Convert old profiles to new presets
217213
profile_convert
218214

@@ -246,7 +242,7 @@ killall audioserver
246242

247243
ui_print "- Installing ViPER4AndroidFX $(grep_prop version $MODPATH/module.prop)..."
248244
$ENFORCE && setenforce 0
249-
(pm install $MODPATH/v4afx.apk >/dev/null 2>&1) || ui_print " V4AFX install failed! Install $FOL/v4afx.apk manually"
245+
(pm install $MODPATH/v4afx.apk >/dev/null 2>&1) || abort "Failed to install V4AFX!"
250246
$ENFORCE && setenforce 1
251247

252248
# Install temporary service script

magiskmodule/v4afx.apk

8.76 MB
Binary file not shown.

0 commit comments

Comments
 (0)