diff --git a/META-INF/com/google/android/update-binary b/META-INF/com/google/android/update-binary index 763e509..587516b 100644 --- a/META-INF/com/google/android/update-binary +++ b/META-INF/com/google/android/update-binary @@ -268,14 +268,6 @@ case $installDir in ;; esac - -#legacy -if $acca; then - ln -s $installDir/service.sh $installDir/${id}-init.sh - ln -s $installDir $accaFiles/ -fi 2>/dev/null - - # initialize $id /data/adb/$domain/$id/service.sh diff --git a/README.md b/README.md index fd432f3..acf008c 100644 --- a/README.md +++ b/README.md @@ -123,8 +123,8 @@ Usage: djsc|djs-config OPTION ARGS Daemon Management Start/restart: djsd|djs-daemon -Stop: djsd.|djsd-stop -Status: djsd,|djsd-status +Stop: djs.|djs-stop +Status: djs,|djs-status Print Version Code (integer) @@ -135,7 +135,7 @@ djs-version Notes - All commands return either 0 (success/running) or 1 (failure/stopped). -- djsd-status prints the daemon's process ID (PID). +- djs-status prints the daemon's process ID (PID). - Special shell characters (e.g., "|", ";", "&") must be quoted or escaped. For the sake of simplicity and consistency, single-quote all arguments as a whole (e.g., djsc -a '2200 reboot -p'). ``` @@ -178,16 +178,7 @@ Open issues on GitHub or contact the developer on Telegram/XDA (linked below). A ## LATEST CHANGES -**2019.7.1 (201907010)** - -- Ability to run commands/scripts on boot -- Enhanced efficiency and reliability -- Major optimizations -- More intuitive config and daemon management commands -- Updated documentation - - -**2019.10.18 (201910180)** +**v2019.10.18 (201910180)** - `: --boot` and `: --delete` flags - Attribute back-end files ownership to front-end app @@ -204,8 +195,13 @@ Open issues on GitHub or contact the developer on Telegram/XDA (linked below). A - Workaround for front-end autostart blockage (Magisk service.d script) -**2021.7.28 (202107280)** +**v2021.7.28 (202107280)** - Fixed issues. - Major refactoring - Updated framework and documentation. + + +**v2021.8.2 (202108020)** + +- Fixed AccA related issues. diff --git a/customize.sh b/customize.sh index 763e509..587516b 100644 --- a/customize.sh +++ b/customize.sh @@ -268,14 +268,6 @@ case $installDir in ;; esac - -#legacy -if $acca; then - ln -s $installDir/service.sh $installDir/${id}-init.sh - ln -s $installDir $accaFiles/ -fi 2>/dev/null - - # initialize $id /data/adb/$domain/$id/service.sh diff --git a/install-tarball.sh b/install-tarball.sh index 14e1fc3..5513bdf 100644 --- a/install-tarball.sh +++ b/install-tarball.sh @@ -75,12 +75,11 @@ tar -xf ${1:-$id}[-_]*.tar.gz # prevent AccA from downgrading/reinstalling modules ### case "$PWD" in *mattecarra.accapp*) - get_ver() { sed -n '/^versionCode=/s/.*=//p' $1/module.prop 2>/dev/null || echo 0; } - bundled_ver=$(get_ver ${1:-$id}[-_]*) - regular_ver=$(get_ver /data/adb/$domain/$id) + get_ver() { sed -n '/^versionCode=/s/.*=//p' ${1}module.prop 2>/dev/null || echo 0; } + bundled_ver=$(get_ver ${1:-$id}[-_]*/) + regular_ver=$(get_ver /data/adb/$domain/${1:-$id}/) if [ $bundled_ver -le $regular_ver ] && [ $regular_ver -ne 0 ]; then - ln -s $(readlink -f /data/adb/$domain/$id) . - (cd ./${1:-$id}/; ln -fs service.sh ${1:-$id}-init.sh) + ln -s $(readlink -f /data/adb/$domain/${1:-$id}) . exit 0 fi 2>/dev/null || : ;; diff --git a/install.sh b/install.sh index 763e509..587516b 100644 --- a/install.sh +++ b/install.sh @@ -268,14 +268,6 @@ case $installDir in ;; esac - -#legacy -if $acca; then - ln -s $installDir/service.sh $installDir/${id}-init.sh - ln -s $installDir $accaFiles/ -fi 2>/dev/null - - # initialize $id /data/adb/$domain/$id/service.sh diff --git a/module.prop b/module.prop index 69b684e..6d1000a 100644 --- a/module.prop +++ b/module.prop @@ -1,6 +1,6 @@ id=djs name=Daily Job Scheduler (DJS) -version=2021.7.28 -versionCode=202107280 +version=2021.8.2 +versionCode=202108020 author=VR25 description=Runs commands and scripts on boot and at HH:MM. Any root solution is supported. The installation is always "system-less", whether or not the system is rooted with Magisk.