Skip to content

Commit 904a52a

Browse files
authored
v1.34.0 (#132)
* chore: bump version to 1.34.0-beat.0 * chore: update rawCoreVersion to 1.29.0-beat.0 * chore: update checksums for darwinArm64, darwinAmd64, and windowsAmd64 * chore: update CHANGELOG for new features and improvements * feat: support mixed mode * chore: update checksums for darwinArm64, darwinAmd64, and windowsAmd64 * chore: update rawCoreVersion to 1.29.0-beat.1 * chore: bump version to 1.34.0-beat.1 * fix: reveal tun setting in mixed mode * chore: bump version to 1.34.0-beat.2 * chore: update rawCoreVersion to 1.29.0-beat.2 * fix: update checksums for darwinArm64, darwinAmd64, and windowsAmd64 * fix: update changelog for invalid rule engine in mixed mode * fix: update checksums for darwinArm64, darwinAmd64, and windowsAmd64 * chore: v1.34.0 * chore: update rawCoreVersion to 1.29.0 * feat: update changelog for mixed mode feature * chore: update changelog to include dependency updates
1 parent 58bb538 commit 904a52a

5 files changed

Lines changed: 10 additions & 14 deletions

File tree

CHANGELOG.md

Lines changed: 2 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1,12 +1,8 @@
11
## What's Changed
22

3-
### New changes
3+
### New features
44

5-
* feat: update UI of nav
6-
7-
### Bug fixes 🐛
8-
9-
* fix: timeout for init core
5+
* feat: [mixed mode](https://igoogolx.github.io/lux-docs/docs/configuration/mode)
106

117
### Other changes
128

lib/checksum.dart

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -2,11 +2,11 @@ import 'dart:io';
22
import 'package:crypto/crypto.dart';
33

44
const darwinArm64Checksum =
5-
"3436c1004a56e7ecce2e2876b49f50e93940e80fbebba64bcb7cc41e800680e9";
5+
"e29f6b97f14453b3406cf44fabb991685deaae38a1cb5b155499fa89efad5db5";
66
const darwinAmd64Checksum =
7-
"d6f5b050d846f2d5d090a10d1c441113d9a9a059ac39e578d6a12a45e3f70266";
7+
"fb533a61e02f01c23a5758dbdeddbe2f7741910fe3fd02ca6d83f11a1647aea1";
88
const windowsAmd64Checksum =
9-
"d0dc45d547bb361684ad884b2ac4b5cf53cccc6b2509a05b435b16377d0010ef";
9+
"11f56680f2414a9c51a51f7b94812826598e9ffead547999943c098e7b318691";
1010

1111
Future<void> verifyCoreBinary(String filePath) async {
1212
var input = File(filePath);

lib/core_manager.dart

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -52,7 +52,7 @@ class CoreManager {
5252
if (isStarted is bool && isStarted) {
5353
final settingRes = await dio.get('$baseUrl/setting');
5454
var mode = settingRes.data['setting']['mode'];
55-
if (mode == "tun") {
55+
if (mode == "tun" || mode == "mixed") {
5656
needRestart = true;
5757
await stop();
5858
}
@@ -77,8 +77,8 @@ class CoreManager {
7777
}
7878
}
7979

80-
CoreManager(
81-
this.baseUrl, this.coreProcess, this.token, this.onReady, this.onOsSleep) {
80+
CoreManager(this.baseUrl, this.coreProcess, this.token, this.onReady,
81+
this.onOsSleep) {
8282
dio.transformer = BackgroundTransformer()..jsonDecodeCallback = parseJson;
8383
dio.options.receiveTimeout = const Duration(seconds: 3);
8484
dio.interceptors.add(InterceptorsWrapper(onRequest:

pubspec.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@ publish_to: 'none' # Remove this line if you wish to publish to pub.dev
1616
# https://developer.apple.com/library/archive/documentation/General/Reference/InfoPlistKeyReference/Articles/CoreFoundationKeys.html
1717
# In Windows, build-name is used as the major, minor, and patch parts
1818
# of the product and file versions while build-number is used as the build suffix.
19-
version: 1.33.2
19+
version: 1.34.0
2020

2121
environment:
2222
sdk: '>=3.0.6 <4.0.0'

scripts/init.dart

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@ final assetsPath =
1313
final binDir = Directory(path.join(assetsPath, 'bin'));
1414

1515
const rawCoreName = 'itun2socks';
16-
const rawCoreVersion = '1.28.9';
16+
const rawCoreVersion = '1.29.0';
1717

1818
Future<void> downloadFileWith(String url, String savePath) async {
1919
final dio = Dio();

0 commit comments

Comments
 (0)