Skip to content

Commit 07e67ca

Browse files
build 2.2.5
1 parent 0c7dba7 commit 07e67ca

7 files changed

Lines changed: 15 additions & 10 deletions

File tree

changelog.md

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,8 @@
1+
# 2.2.5 (22500)
2+
- enhanced performance of fix.sh
3+
- clean up logic move to post-fs-data.sh
4+
# 2.2.5 (22500)
5+
- enhanced performance
16
# 2.2.4 (22400)
27
- Add logic to prevent the daemon from restarting twice.
38
- Description: Supports more states

latest_build.zip

58 Bytes
Binary file not shown.

src/fix.sh

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -37,9 +37,9 @@ main(){
3737
local MEDIA="$ANDROID/media/$app"
3838

3939
# create directory
40-
mkdir -p -m 777 "$DATA"
41-
mkdir -p -m 777 "$OBB"
42-
mkdir -p -m 777 "$MEDIA"
40+
[ ! -d "$DATA" ] && mkdir -p -m 777 "$DATA"
41+
[ ! -d "$OBB" ] && mkdir -p -m 777 "$OBB"
42+
[ ! -d "$MEDIA" ] && mkdir -p -m 777 "$MEDIA"
4343

4444
if [ $CALL_FROM_DAEMON -eq 0 ]; then
4545
draw_ui "$COUNTER" "$COUNT"

src/module.prop

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
id=fix_data
22
name=Fix Data Missing
3-
version=2.2.4
4-
versionCode=22400
3+
version=2.2.5
4+
versionCode=22500
55
author=HelloWorld
66
description=[🤔 A reboot is pending.] \nFix Android/data, Android/obb, Android/media is missing.
77
updateJson=https://raw.githubusercontent.com/helloworld2540/FixDataMissing/refs/heads/main/update.json

src/post-fs-data.sh

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3,4 +3,7 @@
33

44
# tools variable
55
MODDIR=${0%/*}
6+
rm -f "$REBOOT_FLAG" # clear reboot flag
7+
rm -f "$LOCK_FILE" # clear lock file
8+
rm -f "$DAEMON_PID" # clear daemon pid
69
"$MODDIR/refresh_description.sh" & # refresh description and not stuck boot

src/service.sh

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,4 @@ MODDIR=${0%/*}
66

77
. "$MODDIR/utils.sh" # import utils
88
wait_until_login # wait for system ready
9-
rm -f "$REBOOT_FLAG" # clear reboot flag
10-
rm -f "$LOCK_FILE" # clear lock file
11-
rm -f "$DAEMON_PID" # clear daemon pid
129
"$MODDIR"/daemon.sh & # start daemon in background

update.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
2-
"version": "2.2.4",
3-
"versionCode": 22400,
2+
"version": "2.2.5",
3+
"versionCode": 22500,
44
"zipUrl": "https://raw.githubusercontent.com/helloworld2540/FixDataMissing/refs/heads/main/latest_build.zip",
55
"changelog": "https://raw.githubusercontent.com/helloworld2540/FixDataMissing/refs/heads/main/changelog.md"
66
}

0 commit comments

Comments
 (0)