Skip to content

Commit

Permalink
Merge pull request #61 from NightRainMilkyWay/main
Browse files Browse the repository at this point in the history
更新版本至 V5.0.0 Beta 4,新增运行状态显示,优化安装脚本,添加 examine.sh 脚本以监控服务状态
  • Loading branch information
YumeYuka authored Nov 30, 2024
2 parents d8979ea + 2f25ec5 commit be246cb
Show file tree
Hide file tree
Showing 7 changed files with 50 additions and 4 deletions.
12 changes: 11 additions & 1 deletion changelog.md
Original file line number Diff line number Diff line change
@@ -1,4 +1,7 @@
## V5.0.0 Beta 3
## V5.0.0 Beta 4

- 模块新增加运行状态显示

@Suni-code
更新日志:
- 优化功耗表现 提升游戏体验
Expand All @@ -16,9 +19,12 @@
> [!TIP]
> 两位维护者的大版本相同 细节和风格会有差异 适配的SOC不同 选择适合自己的版本即可.


### Tritium_box 更新日志
2.0.1_release 更新日志


- 跟进上游
- 更新内置模块
- 优化使用流畅度
Expand All @@ -44,3 +50,7 @@ Full Changelog: [`V5.0.0_Beta_2.5 -> V5.0.0_Beta_3`](https://github.com/TimeBree
- [CuprumTurbo Scheduler](https://github.com/chenzyadb/CuprumTurbo-Scheduler)
- [Tritium](https://github.com/TimeBreeze/Tritium)
- [Tritium_box](https://github.com/TimeBreeze/Tritium_box)

![Tritium](https://raw.gitcode.com/NightRainMilkyWay/PicPlus/files/main/img/122297646_p0.jpg)


4 changes: 2 additions & 2 deletions config.env
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ CONFIG_ENV=config.env
ZIP_FILENAME=Magisk
CONFIG_NAME=configs
IS_PRERELEASE=true
VERSION=V5.0.0_Beta_3
VERSIONCODE=241129
VERSION=V5.0.0_Beta_4
VERSIONCODE=241201

FILE=Tritium.json
14 changes: 14 additions & 0 deletions magisk_fiage/examine.sh
Original file line number Diff line number Diff line change
@@ -0,0 +1,14 @@
#!/sbin/sh


LOG_FILE=/storage/emulated/0/Android/ct/scheduler.log
BASE_DIR=/data/adb/modules/ct_module/module.prop


if [ -f $LOG_FILE ]; then
if grep -q "Daemon Running" $LOG_FILE; then
sed -i 's/description=.*/description=[😊运行中]Optimize performance ing…/' $BASE_DIR
else
sed -i 's/description=.*/description=[😵启动失败]Optimize performance ing…/' $BASE_DIR
fi
fi
4 changes: 4 additions & 0 deletions magisk_fiage/service.sh
Original file line number Diff line number Diff line change
Expand Up @@ -199,3 +199,7 @@ fi
-mode "/sdcard/Android/ct/cur_mode.txt" \
-log "/sdcard/Android/ct/scheduler.log" \
--start

sleep 5
chmod 777 ./examine.sh
./examine.sh
2 changes: 1 addition & 1 deletion magisk_suni/customize.sh
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ cp -f $MODPATH/powercfg/powercfg.sh /data/
ui_print "- Tritium Scheduler Module"
ui_print "- Installing..."

echo "- 当前版本为: Beta"
echo "- 当前版本为: 正式版"
echo "- 构建时间:$(stat -c %y $MODPATH/module.prop | cut -d: -f1,2)"
echo "- Soc平台:$(getprop Build.BRAND)"
echo "- CPU型号:$(getprop ro.board.platform)"
Expand Down
14 changes: 14 additions & 0 deletions magisk_suni/examine.sh
Original file line number Diff line number Diff line change
@@ -0,0 +1,14 @@
#!/sbin/sh


LOG_FILE=/storage/emulated/0/Android/ct/scheduler.log
BASE_DIR=/data/adb/modules/ct_module/module.prop


if [ -f $LOG_FILE ]; then
if grep -q "Daemon Running" $LOG_FILE; then
sed -i 's/description=.*/description=[😊运行中]Optimize performance ing…/' $BASE_DIR
else
sed -i 's/description=.*/description=[😵启动失败]Optimize performance ing…/' $BASE_DIR
fi
fi
4 changes: 4 additions & 0 deletions magisk_suni/service.sh
Original file line number Diff line number Diff line change
Expand Up @@ -199,3 +199,7 @@ fi
-mode "/sdcard/Android/ct/cur_mode.txt" \
-log "/sdcard/Android/ct/scheduler.log" \
--start

sleep 5
chmod 777 ./examine.sh
./examine.sh

0 comments on commit be246cb

Please sign in to comment.