Compare commits

..

1 Commits

Author SHA1 Message Date
chen08209
ec2890cab2 Fix windows error 2024-07-18 17:27:29 +08:00
3 changed files with 11 additions and 9 deletions

View File

@@ -100,7 +100,7 @@ jobs:
- name: Upload
uses: actions/upload-artifact@v4
with:
name: artifact-${{ matrix.platform }}-${{ matrix.arch && format('--arch {0}', matrix.arch) }}
name: artifact-${{ matrix.platform }}${{ matrix.arch && format('-{0}', matrix.arch) }}
path: ./dist
retention-days: 1
overwrite: true

View File

@@ -123,13 +123,15 @@ class GlobalState {
}) async {
appState.isInit = clashCore.isInit;
if (!appState.isInit) {
clashCore.setProps(
Props(
accessControl: config.isAccessControl ? config.accessControl : null,
allowBypass: config.allowBypass,
systemProxy: config.systemProxy,
),
);
if(Platform.isAndroid){
clashCore.setProps(
Props(
accessControl: config.isAccessControl ? config.accessControl : null,
allowBypass: config.allowBypass,
systemProxy: config.systemProxy,
),
);
}
appState.isInit = await clashService.init(
config: config,
clashConfig: clashConfig,

View File

@@ -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.42+202407181
version: 0.8.43+202407182
environment:
sdk: '>=3.1.0 <4.0.0'