From 5cba9bea8e05f388590859238ddab750d7d41107 Mon Sep 17 00:00:00 2001 From: shadow3aaa Date: Mon, 25 Dec 2023 18:13:21 +0800 Subject: [PATCH] v1.4.5 --- Cargo.lock | 2 +- Cargo.toml | 2 +- module/customize.sh | 3 ++- update/changelog(v1.4.5).md | 22 ++++++++++++++++++++++ update/update.json | 8 ++++---- 5 files changed, 30 insertions(+), 7 deletions(-) create mode 100644 update/changelog(v1.4.5).md diff --git a/Cargo.lock b/Cargo.lock index 24d19121..5d9a112a 100755 --- a/Cargo.lock +++ b/Cargo.lock @@ -258,7 +258,7 @@ dependencies = [ [[package]] name = "fas-rs" -version = "1.4.0" +version = "1.4.5" dependencies = [ "anyhow", "async-trait", diff --git a/Cargo.toml b/Cargo.toml index 31615639..49689ba6 100755 --- a/Cargo.toml +++ b/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "fas-rs" -version = "1.4.0" +version = "1.4.5" edition = "2021" description = "Frame-aware scheduling binary" authors = ["shadow3"] diff --git a/module/customize.sh b/module/customize.sh index bf103b26..fb39c6d9 100755 --- a/module/customize.sh +++ b/module/customize.sh @@ -26,7 +26,7 @@ elif [ $API -le 30 ]; then ui_print "Required A12+ !" ui_print "系统版本过低, 需要安卓12及以上的系统版本版本" abort -elif [[ ! $KSU && $MAGISK_VER_CODE -lt 26000 ]]; then +elif [[ ! $KSU == true && $MAGISK_VER_CODE -lt 26000 ]]; then ui_print "Required Magisk v26.0+, since we use Zygisk v4" ui_print "Magisk版本过低, 需要Magisk v26.0及以上的Magisk版本" abort @@ -86,3 +86,4 @@ set_perm $MODPATH/fas-rs 0 0 0755 resetprop fas_rs_installed true ui_print "Configuration folder: /sdcard/Android/fas-rs" +ui_print "配置文件夹:/sdcard/Android/fas-rs" diff --git a/update/changelog(v1.4.5).md b/update/changelog(v1.4.5).md new file mode 100644 index 00000000..2422d665 --- /dev/null +++ b/update/changelog(v1.4.5).md @@ -0,0 +1,22 @@ +# fas-rs(v1.4.5) + +[项目主页](https://github.com/shadow3aaa/fas-rs) + +## 更新日志 + +- 修复1.4.0zygisk分析线程绑定的一处错误 +- 优化安装引导 +- 优化逻辑 +- 更新依赖库到最新版本 + + +## 运行要求 + +- soc平台无要求 +- Android12以上 +- zygisk开启并且版本v4以上(magisk v26.0以上并且开启zygisk / ksu + zygisk-next) + +## 特殊说明 + +- 对开启fas的游戏使用shamiko会导致不生效 +- 采用zygisk注入劫持libgui获取frametime,存在部分被检测风险 diff --git a/update/update.json b/update/update.json index bc0d1ac5..08618527 100755 --- a/update/update.json +++ b/update/update.json @@ -1,6 +1,6 @@ { - "versionCode": 140, - "version": "v1.4.0", - "zipUrl": "https://github.com/shadow3aaa/fas-rs/releases/download/v1.4.0/fas-rs.zip", - "changelog": "https://github.com/shadow3aaa/fas-rs/raw/master/update/changelog(v1.4.0).md" + "versionCode": 145, + "version": "v1.4.5", + "zipUrl": "https://github.com/shadow3aaa/fas-rs/releases/download/v1.4.5/fas-rs.zip", + "changelog": "https://github.com/shadow3aaa/fas-rs/raw/master/update/changelog(v1.4.5).md" }