Compare commits
1 Commits
v0.8.92-pr
...
v0.8.92-pr
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
755c66e5b0 |
@@ -99,7 +99,7 @@ func handleValidateConfig(path string) string {
|
||||
func handleGetProxies() ProxiesData {
|
||||
runLock.Lock()
|
||||
defer runLock.Unlock()
|
||||
var all = []string{"GLOBAL"}
|
||||
var all []string
|
||||
all = append(all, config.ProxyList...)
|
||||
proxies := make(map[string]constant.Proxy)
|
||||
for name, proxy := range tunnel.Proxies() {
|
||||
@@ -112,6 +112,10 @@ func handleGetProxies() ProxiesData {
|
||||
}
|
||||
}
|
||||
|
||||
if !slices.Contains(all, "GLOBAL") {
|
||||
all = append([]string{"GLOBAL"}, all...)
|
||||
}
|
||||
|
||||
types := []constant.AdapterType{
|
||||
constant.Selector, constant.URLTest, constant.Fallback, constant.Relay, constant.LoadBalance,
|
||||
}
|
||||
|
||||
@@ -576,14 +576,14 @@ Future<MigrationData> _restoreTask(RootIsolateToken token) async {
|
||||
final scripts = results[1].cast<Script>();
|
||||
final profilesMigration = profiles.map(
|
||||
(item) => VM2(
|
||||
_getProfilePath(restoreDirPath, item.fileName),
|
||||
_getProfilePath(homeDirPath, item.fileName),
|
||||
_getProfilePath(restoreDirPath, item.id.toString()),
|
||||
_getProfilePath(homeDirPath, item.id.toString()),
|
||||
),
|
||||
);
|
||||
final scriptsMigration = scripts.map(
|
||||
(item) => VM2(
|
||||
_getScriptPath(restoreDirPath, item.fileName),
|
||||
_getScriptPath(homeDirPath, item.fileName),
|
||||
_getScriptPath(restoreDirPath, item.id.toString()),
|
||||
_getScriptPath(homeDirPath, item.id.toString()),
|
||||
),
|
||||
);
|
||||
await _copyWithMapList([...profilesMigration, ...scriptsMigration]);
|
||||
|
||||
@@ -1,7 +1,7 @@
|
||||
name: fl_clash
|
||||
description: A multi-platform proxy client based on ClashMeta, simple and easy to use, open-source and ad-free.
|
||||
publish_to: 'none'
|
||||
version: 0.8.92+2026012403
|
||||
version: 0.8.92+2026012404
|
||||
environment:
|
||||
sdk: '>=3.8.0 <4.0.0'
|
||||
|
||||
|
||||
Reference in New Issue
Block a user