From b7ad8e736853c9cadfe606bc642214dfcbcc602d Mon Sep 17 00:00:00 2001 From: ZuoSiZhu <2839299264@qq.com> Date: Sat, 21 Jun 2025 16:57:55 +0800 Subject: [PATCH] Adj: Remove config for OthersLogin.Method --- config/deploy.template-AidLux-cn.yaml | 8 -------- config/deploy.template-AidLux.yaml | 8 -------- config/deploy.template-cn.yaml | 8 -------- config/deploy.template-docker-cn.yaml | 8 -------- config/deploy.template-docker.yaml | 8 -------- config/deploy.template-linux-cn.yaml | 8 -------- config/deploy.template-linux.yaml | 8 -------- config/deploy.template.yaml | 8 -------- config/template.json | 1 - module/config/argument/args.json | 8 -------- module/config/argument/argument.yaml | 3 --- module/config/config_generated.py | 1 - module/config/i18n/en-US.json | 6 ------ module/config/i18n/ja-JP.json | 6 ------ module/config/i18n/zh-CN.json | 6 ------ module/config/i18n/zh-TW.json | 6 ------ 16 files changed, 101 deletions(-) diff --git a/config/deploy.template-AidLux-cn.yaml b/config/deploy.template-AidLux-cn.yaml index b326a01ae..c92dbc68b 100644 --- a/config/deploy.template-AidLux-cn.yaml +++ b/config/deploy.template-AidLux-cn.yaml @@ -164,11 +164,3 @@ Deploy: # --no-sandbox. https://github.com/electron/electron/issues/30966 # Some Windows systems cannot call the GPU normally for virtualization, and you need to manually turn off sandbox mode NoSandbox: false - # SSL support - # Only effective when both parameters below are set - # --ssl-key. Path to SSL key file - # [Default] null (no SSL) - WebuiSSLKey: null - # --ssl-cert. Path to SSL cert file - # [Default] null (no SSL) - WebuiSSLCert: null diff --git a/config/deploy.template-AidLux.yaml b/config/deploy.template-AidLux.yaml index 71136ad7f..68a19e145 100644 --- a/config/deploy.template-AidLux.yaml +++ b/config/deploy.template-AidLux.yaml @@ -164,11 +164,3 @@ Deploy: # --no-sandbox. https://github.com/electron/electron/issues/30966 # Some Windows systems cannot call the GPU normally for virtualization, and you need to manually turn off sandbox mode NoSandbox: false - # SSL support - # Only effective when both parameters below are set - # --ssl-key. Path to SSL key file - # [Default] null (no SSL) - WebuiSSLKey: null - # --ssl-cert. Path to SSL cert file - # [Default] null (no SSL) - WebuiSSLCert: null diff --git a/config/deploy.template-cn.yaml b/config/deploy.template-cn.yaml index 3af31f2fd..b7687a408 100644 --- a/config/deploy.template-cn.yaml +++ b/config/deploy.template-cn.yaml @@ -164,11 +164,3 @@ Deploy: # --no-sandbox. https://github.com/electron/electron/issues/30966 # Some Windows systems cannot call the GPU normally for virtualization, and you need to manually turn off sandbox mode NoSandbox: false - # SSL support - # Only effective when both parameters below are set - # --ssl-key. Path to SSL key file - # [Default] null (no SSL) - WebuiSSLKey: null - # --ssl-cert. Path to SSL cert file - # [Default] null (no SSL) - WebuiSSLCert: null diff --git a/config/deploy.template-docker-cn.yaml b/config/deploy.template-docker-cn.yaml index fb773ef0c..a792896d3 100644 --- a/config/deploy.template-docker-cn.yaml +++ b/config/deploy.template-docker-cn.yaml @@ -164,11 +164,3 @@ Deploy: # --no-sandbox. https://github.com/electron/electron/issues/30966 # Some Windows systems cannot call the GPU normally for virtualization, and you need to manually turn off sandbox mode NoSandbox: false - # SSL support - # Only effective when both parameters below are set - # --ssl-key. Path to SSL key file - # [Default] null (no SSL) - WebuiSSLKey: null - # --ssl-cert. Path to SSL cert file - # [Default] null (no SSL) - WebuiSSLCert: null diff --git a/config/deploy.template-docker.yaml b/config/deploy.template-docker.yaml index 46b548b85..1dc8421ec 100644 --- a/config/deploy.template-docker.yaml +++ b/config/deploy.template-docker.yaml @@ -164,11 +164,3 @@ Deploy: # --no-sandbox. https://github.com/electron/electron/issues/30966 # Some Windows systems cannot call the GPU normally for virtualization, and you need to manually turn off sandbox mode NoSandbox: false - # SSL support - # Only effective when both parameters below are set - # --ssl-key. Path to SSL key file - # [Default] null (no SSL) - WebuiSSLKey: null - # --ssl-cert. Path to SSL cert file - # [Default] null (no SSL) - WebuiSSLCert: null diff --git a/config/deploy.template-linux-cn.yaml b/config/deploy.template-linux-cn.yaml index 76f8a5437..bf266f8f9 100644 --- a/config/deploy.template-linux-cn.yaml +++ b/config/deploy.template-linux-cn.yaml @@ -164,11 +164,3 @@ Deploy: # --no-sandbox. https://github.com/electron/electron/issues/30966 # Some Windows systems cannot call the GPU normally for virtualization, and you need to manually turn off sandbox mode NoSandbox: false - # SSL support - # Only effective when both parameters below are set - # --ssl-key. Path to SSL key file - # [Default] null (no SSL) - WebuiSSLKey: null - # --ssl-cert. Path to SSL cert file - # [Default] null (no SSL) - WebuiSSLCert: null diff --git a/config/deploy.template-linux.yaml b/config/deploy.template-linux.yaml index 0f826531e..a1abe262f 100644 --- a/config/deploy.template-linux.yaml +++ b/config/deploy.template-linux.yaml @@ -164,11 +164,3 @@ Deploy: # --no-sandbox. https://github.com/electron/electron/issues/30966 # Some Windows systems cannot call the GPU normally for virtualization, and you need to manually turn off sandbox mode NoSandbox: false - # SSL support - # Only effective when both parameters below are set - # --ssl-key. Path to SSL key file - # [Default] null (no SSL) - WebuiSSLKey: null - # --ssl-cert. Path to SSL cert file - # [Default] null (no SSL) - WebuiSSLCert: null diff --git a/config/deploy.template.yaml b/config/deploy.template.yaml index 6059e8d05..5453b9c6f 100644 --- a/config/deploy.template.yaml +++ b/config/deploy.template.yaml @@ -164,11 +164,3 @@ Deploy: # --no-sandbox. https://github.com/electron/electron/issues/30966 # Some Windows systems cannot call the GPU normally for virtualization, and you need to manually turn off sandbox mode NoSandbox: false - # SSL support - # Only effective when both parameters below are set - # --ssl-key. Path to SSL key file - # [Default] null (no SSL) - WebuiSSLKey: null - # --ssl-cert. Path to SSL cert file - # [Default] null (no SSL) - WebuiSSLCert: null diff --git a/config/template.json b/config/template.json index 543101cff..b776ff1aa 100644 --- a/config/template.json +++ b/config/template.json @@ -207,7 +207,6 @@ "OthersLogin": { "OthersLogin": { "Enable": false, - "Method": "stay_there", "Interval": 60, "Notify": true }, diff --git a/module/config/argument/args.json b/module/config/argument/args.json index 41d4c60a7..db36277dd 100644 --- a/module/config/argument/args.json +++ b/module/config/argument/args.json @@ -858,14 +858,6 @@ "type": "checkbox", "value": false }, - "Method": { - "type": "select", - "value": "stay_there", - "option": [ - "stay_there", - "close_game" - ] - }, "Interval": { "type": "input", "value": 60 diff --git a/module/config/argument/argument.yaml b/module/config/argument/argument.yaml index c1d6b6502..3282d72bb 100644 --- a/module/config/argument/argument.yaml +++ b/module/config/argument/argument.yaml @@ -1312,8 +1312,5 @@ Comment: # ==================== OthersLogin ====================== OthersLogin: Enable: false - Method: - value: stay_there - option: [ stay_there, close_game ] Interval: 60 Notify: true \ No newline at end of file diff --git a/module/config/config_generated.py b/module/config/config_generated.py index 922980853..47c2d5cc2 100644 --- a/module/config/config_generated.py +++ b/module/config/config_generated.py @@ -793,7 +793,6 @@ class GeneratedConfig: # Group `OthersLogin` OthersLogin_Enable = False - OthersLogin_Method = 'stay_there' # stay_there, close_game OthersLogin_Interval = 60 OthersLogin_Notify = True diff --git a/module/config/i18n/en-US.json b/module/config/i18n/en-US.json index 9cb809bd5..b1efc43ea 100644 --- a/module/config/i18n/en-US.json +++ b/module/config/i18n/en-US.json @@ -4292,12 +4292,6 @@ "name": "OthersLogin.Enable.name", "help": "OthersLogin.Enable.help" }, - "Method": { - "name": "OthersLogin.Method.name", - "help": "OthersLogin.Method.help", - "stay_there": "stay_there", - "close_game": "close_game" - }, "Interval": { "name": "OthersLogin.Interval.name", "help": "OthersLogin.Interval.help" diff --git a/module/config/i18n/ja-JP.json b/module/config/i18n/ja-JP.json index 691a0ab6b..2c4243097 100644 --- a/module/config/i18n/ja-JP.json +++ b/module/config/i18n/ja-JP.json @@ -4292,12 +4292,6 @@ "name": "OthersLogin.Enable.name", "help": "OthersLogin.Enable.help" }, - "Method": { - "name": "OthersLogin.Method.name", - "help": "OthersLogin.Method.help", - "stay_there": "stay_there", - "close_game": "close_game" - }, "Interval": { "name": "OthersLogin.Interval.name", "help": "OthersLogin.Interval.help" diff --git a/module/config/i18n/zh-CN.json b/module/config/i18n/zh-CN.json index e08fc775f..3452648cd 100644 --- a/module/config/i18n/zh-CN.json +++ b/module/config/i18n/zh-CN.json @@ -4292,12 +4292,6 @@ "name": "启用", "help": "该功能启用之后会将'Alas设置-优化设置-当任务队列清空后'自动强制设置为'关闭游戏'" }, - "Method": { - "name": "顶号后操作", - "help": "", - "stay_there": "停留在原处", - "close_game": "关闭游戏" - }, "Interval": { "name": "任务间隔(分)", "help": "顶号之后将任务推迟多久" diff --git a/module/config/i18n/zh-TW.json b/module/config/i18n/zh-TW.json index 040a4622c..91ef75083 100644 --- a/module/config/i18n/zh-TW.json +++ b/module/config/i18n/zh-TW.json @@ -4292,12 +4292,6 @@ "name": "OthersLogin.Enable.name", "help": "OthersLogin.Enable.help" }, - "Method": { - "name": "OthersLogin.Method.name", - "help": "OthersLogin.Method.help", - "stay_there": "stay_there", - "close_game": "close_game" - }, "Interval": { "name": "OthersLogin.Interval.name", "help": "OthersLogin.Interval.help"