Skip to content

Commit b8bc0c5

Browse files
committed
Merge branch 'feature/beta'
2 parents 7e195fe + 09a2903 commit b8bc0c5

File tree

26 files changed

+889
-433
lines changed

26 files changed

+889
-433
lines changed

CHANGELOG.MD

Lines changed: 23 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -1,19 +1,34 @@
11
# Changelog
22
Use development and beta versions only if you are aware of the potential risks.
33

4-
## Changes since v1.1.52
4+
## Changes since v1.1.54
55
All significant changes in this version are documented here.
66

77
### ⚠ CHANGES
8-
- Add DHCP DNS configuration and toggle functionality
9-
- Change default DNS from DHCP to 223.5.5.5
10-
- Update Rust dependencies
8+
- Updated translation files
9+
- Added Bypass Router Mode, macOS only
10+
- Simplified the user interface for stage selection to enhance user experience
1111

1212

13-
## 自 v1.1.52 以来的变更
13+
### 🐛 Bug Fixes
14+
- Improved the method of obtaining LAN IP on macOS, fixing the issue of not being able to get it correctly in some cases.
15+
16+
### 🔨 Performance Improvements
17+
- Simplified the download progress component and updated related translations.
18+
- Refactored the update check and download logic to improve code maintainability and stability.
19+
20+
## 自 v1.1.54 以来的变更
1421
本版本的所有重要变更将记录于此。
1522

1623
### ⚠ 变更
17-
- 新增 DHCP DNS 配置及开关功能
18-
- 将默认 DNS 从 DHCP 获取改为 223.5.5.5
19-
- 更新 Rust 依赖
24+
- 更新翻译文件
25+
- 新增旁路由模式,仅 macOS
26+
- 简化了阶段选择的用户界面,以提升用户体验
27+
28+
29+
### 🐛 问题修复
30+
- 改进了在 macOS 上获取局域网 IP 的方法,修复了某些情况下无法正确获取的问题。
31+
32+
### 🔨 性能优化
33+
- 简化了下载进度组件,并更新了相关翻译。
34+
- 重构了更新检查和下载逻辑,提高了代码的可维护性和稳定性。

bun.lock

Lines changed: 24 additions & 24 deletions
Original file line numberDiff line numberDiff line change
@@ -8,10 +8,10 @@
88
"@tauri-apps/api": "^2.8.0",
99
"@tauri-apps/plugin-autostart": "^2.5.0",
1010
"@tauri-apps/plugin-clipboard-manager": "~2.3.0",
11-
"@tauri-apps/plugin-dialog": "^2.3.3",
11+
"@tauri-apps/plugin-dialog": "^2.4.0",
1212
"@tauri-apps/plugin-fs": "~2.4.2",
1313
"@tauri-apps/plugin-http": "~2.5.2",
14-
"@tauri-apps/plugin-log": "~2.6.0",
14+
"@tauri-apps/plugin-log": "~2.7.0",
1515
"@tauri-apps/plugin-opener": "^2.5.0",
1616
"@tauri-apps/plugin-os": "~2.3.1",
1717
"@tauri-apps/plugin-process": "^2.3.0",
@@ -20,9 +20,6 @@
2020
"@tauri-apps/plugin-store": "~2.4.0",
2121
"@tauri-apps/plugin-updater": "^2.9.0",
2222
"@tauri-apps/plugin-window-state": "^2.4.0",
23-
"@types/bytes": "^3.1.5",
24-
"@types/node": "^22.18.0",
25-
"@types/unzipper": "^0.10.11",
2623
"bytes": "^3.1.2",
2724
"clsx": "^2.1.1",
2825
"framer-motion": "^12.23.12",
@@ -32,14 +29,17 @@
3229
"sonner": "^2.0.7",
3330
"swr": "^2.3.6",
3431
"tailwindcss": "^4.1.12",
35-
"zod": "^3.25.76",
32+
"zod": "^4.1.5",
3633
},
3734
"devDependencies": {
38-
"@tauri-apps/cli": "^2.8.3",
35+
"@tauri-apps/cli": "^2.8.4",
36+
"@types/bytes": "^3.1.5",
37+
"@types/node": "^22.18.0",
3938
"@types/react": "^19.1.12",
4039
"@types/react-dom": "^19.1.9",
40+
"@types/unzipper": "^0.10.11",
4141
"@vitejs/plugin-react": "^4.7.0",
42-
"daisyui": "^5.0.54",
42+
"daisyui": "^5.1.6",
4343
"husky": "^9.1.7",
4444
"tar": "^7.4.3",
4545
"typescript": "~5.6.3",
@@ -227,41 +227,41 @@
227227

228228
"@tauri-apps/api": ["@tauri-apps/[email protected]", "", {}, "sha512-ga7zdhbS2GXOMTIZRT0mYjKJtR9fivsXzsyq5U3vjDL0s6DTMwYRm0UHNjzTY5dh4+LSC68Sm/7WEiimbQNYlw=="],
229229

230-
"@tauri-apps/cli": ["@tauri-apps/[email protected].3", "", { "optionalDependencies": { "@tauri-apps/cli-darwin-arm64": "2.8.3", "@tauri-apps/cli-darwin-x64": "2.8.3", "@tauri-apps/cli-linux-arm-gnueabihf": "2.8.3", "@tauri-apps/cli-linux-arm64-gnu": "2.8.3", "@tauri-apps/cli-linux-arm64-musl": "2.8.3", "@tauri-apps/cli-linux-riscv64-gnu": "2.8.3", "@tauri-apps/cli-linux-x64-gnu": "2.8.3", "@tauri-apps/cli-linux-x64-musl": "2.8.3", "@tauri-apps/cli-win32-arm64-msvc": "2.8.3", "@tauri-apps/cli-win32-ia32-msvc": "2.8.3", "@tauri-apps/cli-win32-x64-msvc": "2.8.3" }, "bin": { "tauri": "tauri.js" } }, "sha512-5IlcOtVBI6HYcTRFH4tuLZV+FX09Psi4Xi+TyFf/S8T8w+ZzPNnrehHz6KUGRbuXHfJhtmRDoUULXNEhpdVkfA=="],
230+
"@tauri-apps/cli": ["@tauri-apps/[email protected].4", "", { "optionalDependencies": { "@tauri-apps/cli-darwin-arm64": "2.8.4", "@tauri-apps/cli-darwin-x64": "2.8.4", "@tauri-apps/cli-linux-arm-gnueabihf": "2.8.4", "@tauri-apps/cli-linux-arm64-gnu": "2.8.4", "@tauri-apps/cli-linux-arm64-musl": "2.8.4", "@tauri-apps/cli-linux-riscv64-gnu": "2.8.4", "@tauri-apps/cli-linux-x64-gnu": "2.8.4", "@tauri-apps/cli-linux-x64-musl": "2.8.4", "@tauri-apps/cli-win32-arm64-msvc": "2.8.4", "@tauri-apps/cli-win32-ia32-msvc": "2.8.4", "@tauri-apps/cli-win32-x64-msvc": "2.8.4" }, "bin": { "tauri": "tauri.js" } }, "sha512-ejUZBzuQRcjFV+v/gdj/DcbyX/6T4unZQjMSBZwLzP/CymEjKcc2+Fc8xTORThebHDUvqoXMdsCZt8r+hyN15g=="],
231231

232-
"@tauri-apps/cli-darwin-arm64": ["@tauri-apps/[email protected].3", "", { "os": "darwin", "cpu": "arm64" }, "sha512-+X/DjTlH9ZLT9kWrU+Mk9TSu8vVpv30GgfAOKUxlCQobaRSOzN0cxgZfRcgWaDLu80/gWsJ7Ktk9jLfJ9h9CVA=="],
232+
"@tauri-apps/cli-darwin-arm64": ["@tauri-apps/[email protected].4", "", { "os": "darwin", "cpu": "arm64" }, "sha512-BKu8HRkYV01SMTa7r4fLx+wjgtRK8Vep7lmBdHDioP6b8XH3q2KgsAyPWfEZaZIkZ2LY4SqqGARaE9oilNe0oA=="],
233233

234-
"@tauri-apps/cli-darwin-x64": ["@tauri-apps/[email protected].3", "", { "os": "darwin", "cpu": "x64" }, "sha512-Bs+DK+gGinSj373DEeAuZMUrvTE1m7X5Ef2jC2lU2X8ZhQf4VBV+gNMRoOlSuwIlSTU2eKDQsExtKeFFSpbc8A=="],
234+
"@tauri-apps/cli-darwin-x64": ["@tauri-apps/[email protected].4", "", { "os": "darwin", "cpu": "x64" }, "sha512-imb9PfSd/7G6VAO7v1bQ2A3ZH4NOCbhGJFLchxzepGcXf9NKkfun157JH9mko29K6sqAwuJ88qtzbKCbWJTH9g=="],
235235

236-
"@tauri-apps/cli-linux-arm-gnueabihf": ["@tauri-apps/[email protected].3", "", { "os": "linux", "cpu": "arm" }, "sha512-9pri7KWES6x0M0DWCr5RIsGtXD4yy83Zsf8xuSmn8z6xboFquSnfJZmFsfPz25G8awLFIhxUkxP0YtZGiIUy7g=="],
236+
"@tauri-apps/cli-linux-arm-gnueabihf": ["@tauri-apps/[email protected].4", "", { "os": "linux", "cpu": "arm" }, "sha512-Ml215UnDdl7/fpOrF1CNovym/KjtUbCuPgrcZ4IhqUCnhZdXuphud/JT3E8X97Y03TZ40Sjz8raXYI2ET0exzw=="],
237237

238-
"@tauri-apps/cli-linux-arm64-gnu": ["@tauri-apps/[email protected].3", "", { "os": "linux", "cpu": "arm64" }, "sha512-2+qRdUgnFJ7pDW69dFZxYduWEZPya3U2YA6GaDhrYTHBq8/ypPSpuUT+BZ6n9r68+ij7tFMTj+vwNDgNp3M/0w=="],
238+
"@tauri-apps/cli-linux-arm64-gnu": ["@tauri-apps/[email protected].4", "", { "os": "linux", "cpu": "arm64" }, "sha512-pbcgBpMyI90C83CxE5REZ9ODyIlmmAPkkJXtV398X3SgZEIYy5TACYqlyyv2z5yKgD8F8WH4/2fek7+jH+ZXAw=="],
239239

240-
"@tauri-apps/cli-linux-arm64-musl": ["@tauri-apps/[email protected].3", "", { "os": "linux", "cpu": "arm64" }, "sha512-DJHW1vcqmLMqZCBiu9qv7/oYAygNC6xvrxwrUWvWMvaz/qKNy9NVXZm/EUx+sLTCcOxWHyJe+CII1kW3ouI18Q=="],
240+
"@tauri-apps/cli-linux-arm64-musl": ["@tauri-apps/[email protected].4", "", { "os": "linux", "cpu": "arm64" }, "sha512-zumFeaU1Ws5Ay872FTyIm7z8kfzEHu8NcIn8M6TxbJs0a7GRV21KBdpW1zNj2qy7HynnpQCqjAYXTUUmm9JAOw=="],
241241

242-
"@tauri-apps/cli-linux-riscv64-gnu": ["@tauri-apps/[email protected].3", "", { "os": "linux", "cpu": "none" }, "sha512-+CbLaQXAqd5lPJnfXGyitbgp/q5mnsvCoToGspeVMBYNGd04ES/6XDEcXH7EwNCTgXBTJVRYf3qhI8a8/x31Aw=="],
242+
"@tauri-apps/cli-linux-riscv64-gnu": ["@tauri-apps/[email protected].4", "", { "os": "linux", "cpu": "none" }, "sha512-qiqbB3Zz6IyO201f+1ojxLj65WYj8mixL5cOMo63nlg8CIzsP23cPYUrx1YaDPsCLszKZo7tVs14pc7BWf+/aQ=="],
243243

244-
"@tauri-apps/cli-linux-x64-gnu": ["@tauri-apps/[email protected].3", "", { "os": "linux", "cpu": "x64" }, "sha512-FGjLnA+3PTJwoN5KEMAi6Q8I6SkuW5w8qSFKldGx2Mma8GqtttXqIDw1BzxcIw/LMcr6JrxjbIRULzmV05q/QA=="],
244+
"@tauri-apps/cli-linux-x64-gnu": ["@tauri-apps/[email protected].4", "", { "os": "linux", "cpu": "x64" }, "sha512-TaqaDd9Oy6k45Hotx3pOf+pkbsxLaApv4rGd9mLuRM1k6YS/aw81YrsMryYPThrxrScEIUcmNIHaHsLiU4GMkw=="],
245245

246-
"@tauri-apps/cli-linux-x64-musl": ["@tauri-apps/[email protected].3", "", { "os": "linux", "cpu": "x64" }, "sha512-tWRX3rQJCeUq9mR0Rc0tUV+pdgGL94UqVIzPn0/VmhDehdiDouRdXOUPggJrYUz2Aj/4RvVa83J6B8Hg37s8RQ=="],
246+
"@tauri-apps/cli-linux-x64-musl": ["@tauri-apps/[email protected].4", "", { "os": "linux", "cpu": "x64" }, "sha512-ot9STAwyezN8w+bBHZ+bqSQIJ0qPZFlz/AyscpGqB/JnJQVDFQcRDmUPFEaAtt2UUHSWzN3GoTJ5ypqLBp2WQA=="],
247247

248-
"@tauri-apps/cli-win32-arm64-msvc": ["@tauri-apps/[email protected].3", "", { "os": "win32", "cpu": "arm64" }, "sha512-UQHDmbSMIeWs/Yr3KmtfZFs5m6b+NWUe2+NE7fHu3o4EzPrvNa/Uf4U2XsYKOr0V/yetxZH0/fc+xovcnsqyqA=="],
248+
"@tauri-apps/cli-win32-arm64-msvc": ["@tauri-apps/[email protected].4", "", { "os": "win32", "cpu": "arm64" }, "sha512-+2aJ/g90dhLiOLFSD1PbElXX3SoMdpO7HFPAZB+xot3CWlAZD1tReUFy7xe0L5GAR16ZmrxpIDM9v9gn5xRy/w=="],
249249

250-
"@tauri-apps/cli-win32-ia32-msvc": ["@tauri-apps/[email protected].3", "", { "os": "win32", "cpu": "ia32" }, "sha512-aIP38i2KeADboPD1wsBFYdodEQ9PIJe0HW2urd3ocHpGxF8gX/KMiGOwGVSobu9gFlCpFNoVwCX6J1S5pJCRIQ=="],
250+
"@tauri-apps/cli-win32-ia32-msvc": ["@tauri-apps/[email protected].4", "", { "os": "win32", "cpu": "ia32" }, "sha512-yj7WDxkL1t9Uzr2gufQ1Hl7hrHuFKTNEOyascbc109EoiAqCp0tgZ2IykQqOZmZOHU884UAWI1pVMqBhS/BfhA=="],
251251

252-
"@tauri-apps/cli-win32-x64-msvc": ["@tauri-apps/[email protected].3", "", { "os": "win32", "cpu": "x64" }, "sha512-Z+H+PwK+3yMffG1rN7iqs+uPo6FkPyHJ4MTtFhnEvvGzc3aH711bwFb6+PXwMXfOb/jPR/LB+o6kEXghBu9ynQ=="],
252+
"@tauri-apps/cli-win32-x64-msvc": ["@tauri-apps/[email protected].4", "", { "os": "win32", "cpu": "x64" }, "sha512-XuvGB4ehBdd7QhMZ9qbj/8icGEatDuBNxyYHbLKsTYh90ggUlPa/AtaqcC1Fo69lGkTmq9BOKrs1aWSi7xDonA=="],
253253

254254
"@tauri-apps/plugin-autostart": ["@tauri-apps/[email protected]", "", { "dependencies": { "@tauri-apps/api": "^2.6.0" } }, "sha512-smSt0vydfVB950AeYRbO2S/c01SZrgMVg4FOrFLQLom0R0amsu/8zYaxgttriBdxcofjBZuHv4hmROBQIBVXmA=="],
255255

256256
"@tauri-apps/plugin-clipboard-manager": ["@tauri-apps/[email protected]", "", { "dependencies": { "@tauri-apps/api": "^2.6.0" } }, "sha512-81NOBA2P+OTY8RLkBwyl9ZR/0CeggLub4F6zxcxUIfFOAqtky7J61+K/MkH2SC1FMxNBxrX0swDuKvkjkHadlA=="],
257257

258-
"@tauri-apps/plugin-dialog": ["@tauri-apps/plugin-dialog@2.3.3", "", { "dependencies": { "@tauri-apps/api": "^2.8.0" } }, "sha512-cWXB9QJDbLIA0v7I5QY183awazBEQNPhp19iPvrMZoJRX8SbFkhWFx1/q7zy7xGpXXzxz29qtq6z21Ho7W5Iew=="],
258+
"@tauri-apps/plugin-dialog": ["@tauri-apps/plugin-dialog@2.4.0", "", { "dependencies": { "@tauri-apps/api": "^2.8.0" } }, "sha512-OvXkrEBfWwtd8tzVCEXIvRfNEX87qs2jv6SqmVPiHcJjBhSF/GUvjqUNIDmKByb5N8nvDqVUM7+g1sXwdC/S9w=="],
259259

260260
"@tauri-apps/plugin-fs": ["@tauri-apps/[email protected]", "", { "dependencies": { "@tauri-apps/api": "^2.8.0" } }, "sha512-YGhmYuTgXGsi6AjoV+5mh2NvicgWBfVJHHheuck6oHD+HC9bVWPaHvCP0/Aw4pHDejwrvT8hE3+zZAaWf+hrig=="],
261261

262262
"@tauri-apps/plugin-http": ["@tauri-apps/[email protected]", "", { "dependencies": { "@tauri-apps/api": "^2.8.0" } }, "sha512-x1mQKHSLDk4mS2S938OTeyk8L7QyLpCrKZCZcjkljGsvTvRMojCvI9SeJ1kaxc7t8xSilkC7WdId8xER9TIGLg=="],
263263

264-
"@tauri-apps/plugin-log": ["@tauri-apps/plugin-log@2.6.0", "", { "dependencies": { "@tauri-apps/api": "^2.6.0" } }, "sha512-gVp3l31akA1Jk2bZsTA0hMFD5/gLe49Nw1btu5lViau0QqgC2XyT79LSwvy7a44ewtQbSexchqIg7oTJKMIbXQ=="],
264+
"@tauri-apps/plugin-log": ["@tauri-apps/plugin-log@2.7.0", "", { "dependencies": { "@tauri-apps/api": "^2.8.0" } }, "sha512-81XQ2f93x4vmIB5OY0XlYAxy60cHdYLs0Ki8Qp38tNATRiuBit+Orh3frpY3qfYQnqEvYVyRub7YRJWlmW2RRA=="],
265265

266266
"@tauri-apps/plugin-opener": ["@tauri-apps/[email protected]", "", { "dependencies": { "@tauri-apps/api": "^2.8.0" } }, "sha512-B0LShOYae4CZjN8leiNDbnfjSrTwoZakqKaWpfoH6nXiJwt6Rgj6RnVIffG3DoJiKsffRhMkjmBV9VeilSb4TA=="],
267267

@@ -319,7 +319,7 @@
319319

320320
"csstype": ["[email protected]", "", {}, "sha512-M1uQkMl8rQK/szD0LNhtqxIPLpimGm8sOBwU7lLnCpSbTyY3yeU1Vc7l4KT5zT4s/yOxHH5O7tIuuLOCnLADRw=="],
321321

322-
"daisyui": ["daisyui@5.0.54", "", {}, "sha512-03iuq06+lLq/VczY/+YpADgLXVC1HYO63PNiH6A9hn/+f6IkVoONVc+Jh08xizkLQQCVVMMUBp+KeIdcWSBLcg=="],
322+
"daisyui": ["daisyui@5.1.6", "", {}, "sha512-KCzv25f+3lwWbfnPZZG9Xo0kSGO1NSysyIiS5AoCtDotIrvvArggHklCey1Fg6U2gZuqxsi2rptT1q3khoYCMw=="],
323323

324324
"debug": ["[email protected]", "", { "dependencies": { "ms": "^2.1.3" } }, "sha512-KcKCqiftBJcZr++7ykoDIEwSa3XWowTfNPo92BYxjXiyYEVrUQh2aLyhxBCwww+heortUFxEJYcRzosstTEBYQ=="],
325325

@@ -479,7 +479,7 @@
479479

480480
"yallist": ["[email protected]", "", {}, "sha512-YgvUTfwqyc7UXVMrB+SImsVYSmTS8X/tSrtdNZMImM+n7+QTriRXyXim0mBrTXNeqzVF0KWGgHPeiyViFFrNDw=="],
481481

482-
"zod": ["zod@3.25.76", "", {}, "sha512-gzUt/qt81nXsFGKIFcC3YnfEAx5NkunCfnDlvuBSSFS02bcXu4Lmea0AFIUwbLWxWPx3d9p8S5QoaujKcNQxcQ=="],
482+
"zod": ["zod@4.1.5", "", {}, "sha512-rcUUZqlLJgBC33IT3PNMgsCq6TzLQEG/Ei/KTCU0PedSWRMAXoOUN+4t/0H+Q8bdnLPdqUYnvboJT0bn/229qg=="],
483483

484484
"@tailwindcss/oxide-wasm32-wasi/@emnapi/core": ["@emnapi/[email protected]", "", { "dependencies": { "@emnapi/wasi-threads": "1.0.4", "tslib": "^2.4.0" }, "bundled": true }, "sha512-XsLw1dEOpkSX/WucdqUhPWP7hDxSvZiY+fsUC14h+FtQ2Ifni4znbBt8punRX+Uj2JG/uDb8nEHVKvrVlvdZ5Q=="],
485485

package.json

Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -15,10 +15,10 @@
1515
"@tauri-apps/api": "^2.8.0",
1616
"@tauri-apps/plugin-autostart": "^2.5.0",
1717
"@tauri-apps/plugin-clipboard-manager": "~2.3.0",
18-
"@tauri-apps/plugin-dialog": "^2.3.3",
18+
"@tauri-apps/plugin-dialog": "^2.4.0",
1919
"@tauri-apps/plugin-fs": "~2.4.2",
2020
"@tauri-apps/plugin-http": "~2.5.2",
21-
"@tauri-apps/plugin-log": "~2.6.0",
21+
"@tauri-apps/plugin-log": "~2.7.0",
2222
"@tauri-apps/plugin-opener": "^2.5.0",
2323
"@tauri-apps/plugin-os": "~2.3.1",
2424
"@tauri-apps/plugin-process": "^2.3.0",
@@ -27,9 +27,6 @@
2727
"@tauri-apps/plugin-store": "~2.4.0",
2828
"@tauri-apps/plugin-updater": "^2.9.0",
2929
"@tauri-apps/plugin-window-state": "^2.4.0",
30-
"@types/bytes": "^3.1.5",
31-
"@types/node": "^22.18.0",
32-
"@types/unzipper": "^0.10.11",
3330
"bytes": "^3.1.2",
3431
"clsx": "^2.1.1",
3532
"framer-motion": "^12.23.12",
@@ -39,14 +36,17 @@
3936
"sonner": "^2.0.7",
4037
"swr": "^2.3.6",
4138
"tailwindcss": "^4.1.12",
42-
"zod": "^3.25.76"
39+
"zod": "^4.1.5"
4340
},
4441
"devDependencies": {
45-
"@tauri-apps/cli": "^2.8.3",
42+
"@tauri-apps/cli": "^2.8.4",
43+
"@types/bytes": "^3.1.5",
44+
"@types/node": "^22.18.0",
45+
"@types/unzipper": "^0.10.11",
4646
"@types/react": "^19.1.12",
4747
"@types/react-dom": "^19.1.9",
4848
"@vitejs/plugin-react": "^4.7.0",
49-
"daisyui": "^5.0.54",
49+
"daisyui": "^5.1.6",
5050
"husky": "^9.1.7",
5151
"tar": "^7.4.3",
5252
"typescript": "~5.6.3",

0 commit comments

Comments
 (0)