Skip to content

Commit

Permalink
修复代理头DNS解析错误、支持MIUI14和安卓13
Browse files Browse the repository at this point in the history
  • Loading branch information
zjw2017 committed Dec 28, 2022
1 parent 2754b9f commit 6f39cb6
Show file tree
Hide file tree
Showing 5 changed files with 11 additions and 9 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -56,7 +56,7 @@ jobs:
git config --global user.email "[email protected]"
git config --global user.name "泠洛 & 柚稚的孩纸"
sed -i '4d' $GITHUB_WORKSPACE/odex.json
sed -i '3a "zipUrl": "https://github.zjw.js.cn/'"$browser_download_url"'",' $GITHUB_WORKSPACE/odex.json
sed -i '3a "zipUrl": "https://ghproxy.com/'"$browser_download_url"'",' $GITHUB_WORKSPACE/odex.json
jq . $GITHUB_WORKSPACE/odex.json > $GITHUB_WORKSPACE/new.json
rm -rf $GITHUB_WORKSPACE/odex.json && mv $GITHUB_WORKSPACE/new.json $GITHUB_WORKSPACE/odex.json
git add ./odex.json
Expand Down
8 changes: 4 additions & 4 deletions odex.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"version": 10.1,
"versionCode": 101,
"zipUrl": "https://github.zjw.js.cn/https://github.com/DavidPisces/MIUI-Auto-Odex/releases/download/10.1/odex_script_update_online.zip",
"changelog": "https://github.zjw.js.cn/https://github.com/DavidPisces/MIUI-Auto-Odex/blob/master/odex.md"
"version": 10.2,
"versionCode": 102,
"zipUrl": "https://ghproxy.com/https://github.com/DavidPisces/MIUI-Auto-Odex/releases/download/10.1/odex_script_update_online.zip",
"changelog": "https://ghproxy.com/https://github.com/DavidPisces/MIUI-Auto-Odex/blob/master/odex.md"
}
4 changes: 2 additions & 2 deletions odex.md
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
### 10.1
修复代理头DNS解析错误、支持安卓12L、预支持安卓13、新增安卓版本和Magisk版本判定、舍弃install.sh转用customize.sh
### 10.2
修复代理头DNS解析错误、支持MIUI14和安卓13
4 changes: 3 additions & 1 deletion odex.sh
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,9 @@ elif [[ $SDK == 32 ]]; then
elif [[ $SDK == 33 ]]; then
android_version=13
fi
if [[ $MIUI_version_code == 13 ]] && [[ $MIUI_version_name == V130 ]]; then
if [[ $MIUI_version_code == 14 ]] && [[ $MIUI_version_name == V140 ]]; then
MIUI_version=14
elif [[ $MIUI_version_code == 13 ]] && [[ $MIUI_version_name == V130 ]]; then
MIUI_version=13
elif [[ $MIUI_version_code == 12 ]] && [[ $MIUI_version_name == V125 ]]; then
MIUI_version=12.5 Enhanced
Expand Down
2 changes: 1 addition & 1 deletion odex_script_update_online/module.prop
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
id=odex_script_update_online
name=MIUI ODEX 脚本更新模块
author=柚稚的孩纸&冷洛
updateJson=https://github.zjw.js.cn/https://github.com/DavidPisces/MIUI-Auto-Odex/blob/master/odex.json
updateJson=https://ghproxy.com/https://github.com/DavidPisces/MIUI-Auto-Odex/blob/master/odex.json

0 comments on commit 6f39cb6

Please sign in to comment.