Skip to content

Commit

Permalink
feat: update ver
Browse files Browse the repository at this point in the history
  • Loading branch information
sothx committed Nov 23, 2024
1 parent fa6f510 commit 9068bc2
Show file tree
Hide file tree
Showing 12 changed files with 37 additions and 33 deletions.
4 changes: 2 additions & 2 deletions config/module.config.json
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
{
"id": "MIUI_MagicWindow+",
"name": "HyperOS For Pad(Fold) 完美横屏应用计划",
"version": "2.04.30",
"versionCode": "204030",
"version": "2.04.31",
"versionCode": "204031",
"author": "御坂初琴、做梦书、柚稚的孩纸 等",
"description": "适用于HyperOS For Pad/Fold,用于扩展信箱模式、平行视界和应用布局优化的支持范围并优化适配体验,支持[自定义规则]扩充或覆盖部分应用适配。当前刷入的是[小米(红米)平板通用版]。遇到问题先看[问题合集],反馈问题请提交[应用名]、[系统版本]、[模块版本]、[不适配的现象]。(反馈应用适配问题可前往酷安私信 @做梦书 或者GitHub:https://github.com/sothx/mipad-magic-window,如需卸载模块请移除模块后重启平板)",
"updateJson": "https://hyper-magic-window-module-update.sothx.com/release/"
Expand Down
6 changes: 3 additions & 3 deletions docs/release/V7/fold.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"version": "2.04.30",
"versionCode": 204030,
"zipUrl": "https://github.com/sothx/mipad-magic-window/releases/download/2.04.30/fold-2.04.30.zip",
"version": "2.04.31",
"versionCode": 204031,
"zipUrl": "https://github.com/sothx/mipad-magic-window/releases/download/2.04.31/fold-2.04.31.zip",
"changelog": "https://hyper-magic-window-module-update.sothx.com/release/V7/changelog.md"
}
6 changes: 3 additions & 3 deletions docs/release/V7/pad-ext.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"version": "2.04.30",
"versionCode": 204030,
"zipUrl": "https://github.com/sothx/mipad-magic-window/releases/download/2.04.30/pad-ext-2.04.30.zip",
"version": "2.04.31",
"versionCode": 204031,
"zipUrl": "https://github.com/sothx/mipad-magic-window/releases/download/2.04.31/pad-ext-2.04.31.zip",
"changelog": "https://hyper-magic-window-module-update.sothx.com/release/V7/changelog.md"
}
6 changes: 3 additions & 3 deletions docs/release/V7/pad-general-tiramisu.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"version": "2.04.30",
"versionCode": 204030,
"zipUrl": "https://github.com/sothx/mipad-magic-window/releases/download/2.04.30/pad-general-tiramisu-2.04.30.zip",
"version": "2.04.31",
"versionCode": 204031,
"zipUrl": "https://github.com/sothx/mipad-magic-window/releases/download/2.04.31/pad-general-tiramisu-2.04.31.zip",
"changelog": "https://hyper-magic-window-module-update.sothx.com/release/V7/changelog.md"
}
6 changes: 3 additions & 3 deletions docs/release/V7/pad-general-upsideDownCake.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"version": "2.04.30",
"versionCode": 204030,
"zipUrl": "https://github.com/sothx/mipad-magic-window/releases/download/2.04.30/pad-general-upsideDownCake-2.04.30.zip",
"version": "2.04.31",
"versionCode": 204031,
"zipUrl": "https://github.com/sothx/mipad-magic-window/releases/download/2.04.31/pad-general-upsideDownCake-2.04.31.zip",
"changelog": "https://hyper-magic-window-module-update.sothx.com/release/V7/changelog.md"
}
6 changes: 3 additions & 3 deletions docs/release/V7/pad-hyperos-based-on-tiramisu.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"version": "2.04.30",
"versionCode": 204030,
"zipUrl": "https://github.com/sothx/mipad-magic-window/releases/download/2.04.30/pad-hyperos-based-on-tiramisu-2.04.30.zip",
"version": "2.04.31",
"versionCode": 204031,
"zipUrl": "https://github.com/sothx/mipad-magic-window/releases/download/2.04.31/pad-hyperos-based-on-tiramisu-2.04.31.zip",
"changelog": "https://hyper-magic-window-module-update.sothx.com/release/V7/changelog.md"
}
6 changes: 3 additions & 3 deletions docs/release/V7/pad-hyperos1-based-on-upsideDownCake.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"version": "2.04.30",
"versionCode": 204030,
"zipUrl": "https://github.com/sothx/mipad-magic-window/releases/download/2.04.30/pad-hyperos1-based-on-upsideDownCake-2.04.30.zip",
"version": "2.04.31",
"versionCode": 204031,
"zipUrl": "https://github.com/sothx/mipad-magic-window/releases/download/2.04.31/pad-hyperos1-based-on-upsideDownCake-2.04.31.zip",
"changelog": "https://hyper-magic-window-module-update.sothx.com/release/V7/changelog.md"
}
6 changes: 3 additions & 3 deletions docs/release/V7/pad-magicWindow.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"version": "2.04.30",
"versionCode": 204030,
"zipUrl": "https://github.com/sothx/mipad-magic-window/releases/download/2.04.30/pad-magicWindow-2.04.30.zip",
"version": "2.04.31",
"versionCode": 204031,
"zipUrl": "https://github.com/sothx/mipad-magic-window/releases/download/2.04.31/pad-magicWindow-2.04.31.zip",
"changelog": "https://hyper-magic-window-module-update.sothx.com/release/V7/changelog.md"
}
6 changes: 3 additions & 3 deletions docs/release/V7/pad-miui-based-on-tiramisu.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"version": "2.04.30",
"versionCode": 204030,
"zipUrl": "https://github.com/sothx/mipad-magic-window/releases/download/2.04.30/pad-miui-based-on-tiramisu-2.04.30.zip",
"version": "2.04.31",
"versionCode": 204031,
"zipUrl": "https://github.com/sothx/mipad-magic-window/releases/download/2.04.31/pad-miui-based-on-tiramisu-2.04.31.zip",
"changelog": "https://hyper-magic-window-module-update.sothx.com/release/V7/changelog.md"
}
6 changes: 3 additions & 3 deletions docs/release/V7/pad.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"version": "2.04.30",
"versionCode": 204030,
"zipUrl": "https://github.com/sothx/mipad-magic-window/releases/download/2.04.30/pad-2.04.30.zip",
"version": "2.04.31",
"versionCode": 204031,
"zipUrl": "https://github.com/sothx/mipad-magic-window/releases/download/2.04.31/pad-2.04.31.zip",
"changelog": "https://hyper-magic-window-module-update.sothx.com/release/V7/changelog.md"
}
6 changes: 3 additions & 3 deletions docs/release/V7/phone.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"version": "2.04.30",
"versionCode": 204030,
"zipUrl": "https://github.com/sothx/mipad-magic-window/releases/download/2.04.30/phone-2.04.30.zip",
"version": "2.04.31",
"versionCode": 204031,
"zipUrl": "https://github.com/sothx/mipad-magic-window/releases/download/2.04.31/phone-2.04.31.zip",
"changelog": "https://hyper-magic-window-module-update.sothx.com/release/V7/changelog.md"
}
6 changes: 5 additions & 1 deletion tasks/buildVerifyFunctionExtends.js
Original file line number Diff line number Diff line change
Expand Up @@ -13,10 +13,14 @@ const verifyFunctionsExtendsMap = {
'yudi-device-code': 'module_src/verify_functions_extends/yudi-device-code/**',
'sheng-device-code': 'module_src/verify_functions_extends/sheng-device-code/**',
'pipa-device-code': 'module_src/verify_functions_extends/pipa-device-code/**',
'miui-based-on-tiramisu': 'module_src/verify_functions_extends/miui-based-on-tiramisu/**'
'miui-based-on-tiramisu': 'module_src/verify_functions_extends/miui-based-on-tiramisu/**',
'general-phone': 'module_src/verify_functions_extends/general-phone/**'
}

const buildVerifyFunctionsExtendsType = function () {
if (options.is_projection) {
return 'general-phone'
}
if (['magicWindow'].includes(options.use_mode)) {

return 'magicWindow'
Expand Down

0 comments on commit 9068bc2

Please sign in to comment.