Compare commits
1 Commits
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
05abf2d56d |
@@ -99,7 +99,7 @@ class ClashCore {
|
|||||||
final groupNames = [
|
final groupNames = [
|
||||||
UsedProxy.GLOBAL.name,
|
UsedProxy.GLOBAL.name,
|
||||||
...(proxies[UsedProxy.GLOBAL.name]["all"] as List).where((e) {
|
...(proxies[UsedProxy.GLOBAL.name]["all"] as List).where((e) {
|
||||||
final proxy = proxies[e];
|
final proxy = proxies[e] ?? {};
|
||||||
return GroupTypeExtension.valueList.contains(proxy['type']) && proxy['hidden'] != true;
|
return GroupTypeExtension.valueList.contains(proxy['type']) && proxy['hidden'] != true;
|
||||||
})
|
})
|
||||||
];
|
];
|
||||||
|
|||||||
@@ -278,7 +278,7 @@ class AppController {
|
|||||||
config: config,
|
config: config,
|
||||||
clashConfig: clashConfig,
|
clashConfig: clashConfig,
|
||||||
);
|
);
|
||||||
});
|
},title: appLocalizations.init);
|
||||||
} else {
|
} else {
|
||||||
await globalState.applyProfile(
|
await globalState.applyProfile(
|
||||||
appState: appState,
|
appState: appState,
|
||||||
|
|||||||
@@ -181,5 +181,6 @@
|
|||||||
"requestsDesc": "View recently requested data",
|
"requestsDesc": "View recently requested data",
|
||||||
"nullRequestsDesc": "No proxy or no request",
|
"nullRequestsDesc": "No proxy or no request",
|
||||||
"findProcessMode": "Find process",
|
"findProcessMode": "Find process",
|
||||||
"findProcessModeDesc": "There is a risk of flashback after opening"
|
"findProcessModeDesc": "There is a risk of flashback after opening",
|
||||||
|
"init": "Init"
|
||||||
}
|
}
|
||||||
@@ -181,5 +181,6 @@
|
|||||||
"requestsDesc": "查看最近请求数据",
|
"requestsDesc": "查看最近请求数据",
|
||||||
"nullRequestsDesc": "未开启代理或者没有请求",
|
"nullRequestsDesc": "未开启代理或者没有请求",
|
||||||
"findProcessMode": "查找进程",
|
"findProcessMode": "查找进程",
|
||||||
"findProcessModeDesc": "开启后存在闪退风险"
|
"findProcessModeDesc": "开启后存在闪退风险",
|
||||||
|
"init": "初始化"
|
||||||
}
|
}
|
||||||
@@ -142,6 +142,7 @@ class MessageLookup extends MessageLookupByLibrary {
|
|||||||
"hours": MessageLookupByLibrary.simpleMessage("Hours"),
|
"hours": MessageLookupByLibrary.simpleMessage("Hours"),
|
||||||
"importFromURL":
|
"importFromURL":
|
||||||
MessageLookupByLibrary.simpleMessage("Import from URL"),
|
MessageLookupByLibrary.simpleMessage("Import from URL"),
|
||||||
|
"init": MessageLookupByLibrary.simpleMessage("Init"),
|
||||||
"ipCheckTimeout":
|
"ipCheckTimeout":
|
||||||
MessageLookupByLibrary.simpleMessage("Ip check timeout"),
|
MessageLookupByLibrary.simpleMessage("Ip check timeout"),
|
||||||
"ipv6Desc": MessageLookupByLibrary.simpleMessage(
|
"ipv6Desc": MessageLookupByLibrary.simpleMessage(
|
||||||
|
|||||||
@@ -116,6 +116,7 @@ class MessageLookup extends MessageLookupByLibrary {
|
|||||||
"goDownload": MessageLookupByLibrary.simpleMessage("前往下载"),
|
"goDownload": MessageLookupByLibrary.simpleMessage("前往下载"),
|
||||||
"hours": MessageLookupByLibrary.simpleMessage("小时"),
|
"hours": MessageLookupByLibrary.simpleMessage("小时"),
|
||||||
"importFromURL": MessageLookupByLibrary.simpleMessage("从URL导入"),
|
"importFromURL": MessageLookupByLibrary.simpleMessage("从URL导入"),
|
||||||
|
"init": MessageLookupByLibrary.simpleMessage("初始化"),
|
||||||
"ipCheckTimeout": MessageLookupByLibrary.simpleMessage("Ip检测超时"),
|
"ipCheckTimeout": MessageLookupByLibrary.simpleMessage("Ip检测超时"),
|
||||||
"ipv6Desc": MessageLookupByLibrary.simpleMessage("开启后将可以接收ipv6流量"),
|
"ipv6Desc": MessageLookupByLibrary.simpleMessage("开启后将可以接收ipv6流量"),
|
||||||
"just": MessageLookupByLibrary.simpleMessage("刚刚"),
|
"just": MessageLookupByLibrary.simpleMessage("刚刚"),
|
||||||
|
|||||||
@@ -1879,6 +1879,16 @@ class AppLocalizations {
|
|||||||
args: [],
|
args: [],
|
||||||
);
|
);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
/// `Init`
|
||||||
|
String get init {
|
||||||
|
return Intl.message(
|
||||||
|
'Init',
|
||||||
|
name: 'init',
|
||||||
|
desc: '',
|
||||||
|
args: [],
|
||||||
|
);
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
class AppLocalizationDelegate extends LocalizationsDelegate<AppLocalizations> {
|
class AppLocalizationDelegate extends LocalizationsDelegate<AppLocalizations> {
|
||||||
|
|||||||
@@ -61,7 +61,7 @@ Future<void> vpnService() async {
|
|||||||
);
|
);
|
||||||
|
|
||||||
if (appState.isInit) {
|
if (appState.isInit) {
|
||||||
await globalState.applyProfile(
|
globalState.applyProfile(
|
||||||
appState: appState,
|
appState: appState,
|
||||||
config: config,
|
config: config,
|
||||||
clashConfig: clashConfig,
|
clashConfig: clashConfig,
|
||||||
|
|||||||
@@ -70,7 +70,7 @@ class Config extends ChangeNotifier {
|
|||||||
_isMinimizeOnExit = true,
|
_isMinimizeOnExit = true,
|
||||||
_isAccessControl = false,
|
_isAccessControl = false,
|
||||||
_autoCheckUpdate = true,
|
_autoCheckUpdate = true,
|
||||||
_systemProxy = false,
|
_systemProxy = true,
|
||||||
_accessControl = const AccessControl(),
|
_accessControl = const AccessControl(),
|
||||||
_isAnimateToPage = true,
|
_isAnimateToPage = true,
|
||||||
_allowBypass = true;
|
_allowBypass = true;
|
||||||
|
|||||||
Submodule plugins/flutter_distributor updated: 64122ab7e1...7701c7be83
@@ -1,7 +1,7 @@
|
|||||||
name: fl_clash
|
name: fl_clash
|
||||||
description: A multi-platform proxy client based on ClashMeta, simple and easy to use, open-source and ad-free.
|
description: A multi-platform proxy client based on ClashMeta, simple and easy to use, open-source and ad-free.
|
||||||
publish_to: 'none'
|
publish_to: 'none'
|
||||||
version: 0.8.22
|
version: 0.8.23
|
||||||
environment:
|
environment:
|
||||||
sdk: '>=3.1.0 <4.0.0'
|
sdk: '>=3.1.0 <4.0.0'
|
||||||
|
|
||||||
|
|||||||
20
setup.dart
20
setup.dart
@@ -61,21 +61,21 @@ class Build {
|
|||||||
arch: Arch.amd64,
|
arch: Arch.amd64,
|
||||||
archName: 'amd64',
|
archName: 'amd64',
|
||||||
),
|
),
|
||||||
// BuildLibItem(
|
BuildLibItem(
|
||||||
// platform: PlatformType.android,
|
platform: PlatformType.android,
|
||||||
// arch: Arch.arm,
|
arch: Arch.arm,
|
||||||
// archName: 'armeabi-v7a',
|
archName: 'armeabi-v7a',
|
||||||
// ),
|
),
|
||||||
BuildLibItem(
|
BuildLibItem(
|
||||||
platform: PlatformType.android,
|
platform: PlatformType.android,
|
||||||
arch: Arch.arm64,
|
arch: Arch.arm64,
|
||||||
archName: 'arm64-v8a',
|
archName: 'arm64-v8a',
|
||||||
),
|
),
|
||||||
// BuildLibItem(
|
BuildLibItem(
|
||||||
// platform: PlatformType.android,
|
platform: PlatformType.android,
|
||||||
// arch: Arch.amd64,
|
arch: Arch.amd64,
|
||||||
// archName: 'x86_64',
|
archName: 'x86_64',
|
||||||
// ),
|
),
|
||||||
BuildLibItem(
|
BuildLibItem(
|
||||||
platform: PlatformType.linux,
|
platform: PlatformType.linux,
|
||||||
arch: Arch.amd64,
|
arch: Arch.amd64,
|
||||||
|
|||||||
Reference in New Issue
Block a user