From 100acd7ad40d0967825adb04aa82b0c443261ea9 Mon Sep 17 00:00:00 2001 From: ahao Date: Sun, 18 Sep 2022 19:09:45 +0800 Subject: [PATCH] fix --- .github/workflows/main.yml | 1 + model/Settings.py | 3 ++- 2 files changed, 3 insertions(+), 1 deletion(-) diff --git a/.github/workflows/main.yml b/.github/workflows/main.yml index 1ea2265..7ca8130 100644 --- a/.github/workflows/main.yml +++ b/.github/workflows/main.yml @@ -26,6 +26,7 @@ jobs: run: | mkdir .\dist\resource\ xcopy .\resource\ .\dist\resource\ /E + xcopy .\config.json .\dist\ /E - name: Zip Release uses: TheDoctor0/zip-release@main diff --git a/model/Settings.py b/model/Settings.py index f0b6c15..9b209f8 100644 --- a/model/Settings.py +++ b/model/Settings.py @@ -39,7 +39,8 @@ def load_app_config(self): "game": "PUBG", "commit1": "", "commit2": "", - "update": "GITHUB" + "update": "GITHUB", + "ai": "DmlExecutionProvider" } self.resource_dir = "./resource/PUBG/" self.save_app_config_to_json()