11
22[ " ` getenforce` " == " Enforcing" ] && ENFORCE=true || ENFORCE=false
3- FOL=" /storage/emulated/0/ViPER4Android"
4- [ -d " $FOL " ] || mkdir $FOL
53NEWFOL=" /storage/emulated/0/Android/data/com.pittvandewitt.viperfx/files"
6- # Backup existing presets
7- [ -d " $NEWFOL " ] && cp -rf $NEWFOL /* $FOL /
84
95# Uninstall v4a app if installed
106VIPERFXPACKAGE=" com.pittvandewitt.viperfx"
@@ -21,29 +17,12 @@ if [ ! -z "$FILES" ] && [ ! "$(echo $FILES | grep '/aml/')" ]; then
2117 sleep 3
2218fi
2319
24- # Copy to new scoped storage directory
20+ # Create the new scoped storage directory
2521ui_print " "
2622ui_print " - Placing Files to New Directory:"
2723ui_print " $NEWFOL "
2824mkdir -p $NEWFOL
29- cp -rf $FOL /DDC $FOL /Kernel $FOL /Preset $NEWFOL /
30- ui_print " "
31- ui_print " Note that all presets and other files are now in:"
32- ui_print " $NEWFOL "
33- sleep 3
3425
35- ui_print " "
36- ui_print " - Copying original V4A vdcs to:"
37- ui_print " $FOL /DDC-Orig..."
38- ui_print " Copy the ones you want to the DDC folder"
39- ui_print " "
40- ui_print " Note that some of these aren't that great"
41- ui_print " Check out here for better ones:"
42- ui_print " https://t.me/vdcservice"
43- ui_print " "
44- mkdir -p $FOL /DDC-Orig 2> /dev/null
45- unzip -oj $MODPATH /common/vdcs.zip -d $FOL /DDC-Orig >&2
46- cp -f $MODPATH /v4afx.apk $FOL /v4afx.apk
4726
4827# Force driver reinstall to clear out old stuff in event of change from installed version
4928umount -l $( mount | awk ' {print $3}' | grep ' libv4a_fx.so' )
0 commit comments