File tree Expand file tree Collapse file tree 4 files changed +13
-9
lines changed
Expand file tree Collapse file tree 4 files changed +13
-9
lines changed Original file line number Diff line number Diff line change 1- # Declare files that will always have LF line endings on checkout.
2- * .sh text eol =lf
3- * .prop text eol =lf
4- * .md text eol =lf
1+ # Declare files that will always have LF line endings on checkout.
2+ * .sh text eol =lf
3+ * .prop text eol =lf
4+ * .md text eol =lf
55META-INF /** text eol =lf
Original file line number Diff line number Diff line change @@ -3,6 +3,9 @@ AudModLib is a compatibility framework that allows the seamless integration of m
33To uninstall, REMOVE WITH MAGISK MANAGER
44
55## Change Log
6+ ### v3.3 - 03.26.2020
7+ * Fixes for Magisk v20.4
8+
69### v3.2 - 03.17.2020
710* Restructured script for better efficiency/faster running time - may fix xposed issues
811* Fix prop issue where non-aml supported mods were affected
Original file line number Diff line number Diff line change 11id=aml
22name=Audio Modification Library
3- version=v3.2
4- versionCode=51
3+ version=v3.3
4+ versionCode=52
55author=zackptg5, ahrion
66description=AudModLib is a framework that allows the seamless integration of multiple audio mods in Magisk.
77support=https://forum.xda-developers.com/apps/magisk/module-audio-modification-library-t3579612
Original file line number Diff line number Diff line change @@ -5,7 +5,8 @@ MAGISKTMP=
55API=
66IS64BIT=
77libdir=
8- set -x 2> $MODPATH /debug.log
8+ exec 2> $MODPATH /debug.log
9+ set -x
910echo ` date +%S`
1011moddir=$( dirname $MODPATH )
1112amldir=/data/adb/aml
@@ -227,7 +228,7 @@ for mod in $(find $moddir/* -maxdepth 0 -type d ! -name "aml"); do
227228 modname=" $( basename $mod ) "
228229 [ -f " $mod /disable" ] && continue
229230 # Move files
230- files=" $( find $mod /system -type f -name " *audio_effects*.conf" -o -name " *audio_effects*.xml" -o -name " *audio_*policy*.conf" -o -name " *audio_*policy*.xml" -o -name " *mixer_paths*.xml" -o -name " *mixer_gains*.xml" -o -name " *audio_device*.xml" -o -name " *sapa_feature*.xml" -o -name " *audio_platform_info*.xml" -o -name " *audio_configs*.xml" -o -name " *audio_device*.xml" ) "
231+ files=" $( find $mod /system -type f -name " *audio_effects*.conf" -o -name " *audio_effects*.xml" -o -name " *audio_*policy*.conf" -o -name " *audio_*policy*.xml" -o -name " *mixer_paths*.xml" -o -name " *mixer_gains*.xml" -o -name " *audio_device*.xml" -o -name " *sapa_feature*.xml" -o -name " *audio_platform_info*.xml" -o -name " *audio_configs*.xml" -o -name " *audio_device*.xml" 2> /dev/null ) "
231232 [ " $files " ] && echo " $modname " >> $amldir /modlist
232233 for file in $files ; do
233234 cp_mv -m $file $amldir /$modname /$( echo " $file " | sed " s|$mod /||" )
@@ -242,7 +243,7 @@ for mod in $(find $moddir/* -maxdepth 0 -type d ! -name "aml"); do
242243 fi
243244 else
244245 # Favor vendor libs over system ones, no aml builtins are 64bit only - use 32bit lib dir
245- libs=" $( find $mod /system/vendor/lib/soundfx $mod /system/lib/soundfx -type f < libs> ) "
246+ libs=" $( find $mod /system/vendor/lib/soundfx $mod /system/lib/soundfx -type f < libs> 2> /dev/null ) "
246247 for lib in $libs ; do
247248 for audmod in $MODPATH /.scripts/$( basename $lib ) ~* ; do
248249 uuid=$( basename $audmod | sed -r " s/.*~(.*).sh/\1/" )
You can’t perform that action at this time.
0 commit comments