Skip to content

Commit

Permalink
**v2021.8.2 (202108020)**
Browse files Browse the repository at this point in the history
- Fixed AccA related issues.
  • Loading branch information
VR-25 committed Aug 2, 2021
1 parent 134eb98 commit 3d0dbe8
Show file tree
Hide file tree
Showing 6 changed files with 16 additions and 45 deletions.
8 changes: 0 additions & 8 deletions META-INF/com/google/android/update-binary
Original file line number Diff line number Diff line change
Expand Up @@ -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

Expand Down
24 changes: 10 additions & 14 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -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)
Expand All @@ -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').
```

Expand Down Expand Up @@ -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
Expand All @@ -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.
8 changes: 0 additions & 8 deletions customize.sh
Original file line number Diff line number Diff line change
Expand Up @@ -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

Expand Down
9 changes: 4 additions & 5 deletions install-tarball.sh
Original file line number Diff line number Diff line change
Expand Up @@ -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 || :
;;
Expand Down
8 changes: 0 additions & 8 deletions install.sh
Original file line number Diff line number Diff line change
Expand Up @@ -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

Expand Down
4 changes: 2 additions & 2 deletions module.prop
Original file line number Diff line number Diff line change
@@ -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.

0 comments on commit 3d0dbe8

Please sign in to comment.