feat(ui): 软件主页初步完成
This commit is contained in:
@@ -745,8 +745,21 @@ class AppConfig:
|
||||
class GlobalConfig(QConfig):
|
||||
"""全局配置"""
|
||||
|
||||
function_HomePage = OptionsConfigItem(
|
||||
"Function",
|
||||
"HomePage",
|
||||
"https://ak.hypergryph.com/#information",
|
||||
OptionsValidator(
|
||||
[
|
||||
"https://ak.hypergryph.com/#information",
|
||||
"https://ak-webview.hypergryph.com/gameBulletin",
|
||||
"https://ak.hypergryph.com/user/home",
|
||||
"https://prts.wiki/w/%E9%A6%96%E9%A1%B5",
|
||||
]
|
||||
),
|
||||
)
|
||||
function_HistoryRetentionTime = OptionsConfigItem(
|
||||
"Function", "HistoryRetentionTime", 7, OptionsValidator([7, 15, 30, 60, 0])
|
||||
"Function", "HistoryRetentionTime", 0, OptionsValidator([7, 15, 30, 60, 0])
|
||||
)
|
||||
function_IfAllowSleep = ConfigItem(
|
||||
"Function", "IfAllowSleep", False, BoolValidator()
|
||||
|
||||
Reference in New Issue
Block a user