feat: 自定义okww的启动器的启动时间设置 - #97
Open
sakurairsora wants to merge 2 commits into
Open
sakurairsora wants to merge 2 commits into
sakurairsora wants to merge 2 commits into
Conversation
Add an 'Auto Start Delay (seconds)' option to the App Launcher card, persisted as auto_start_delay_secs in app.json (0-3600, default 10). Companion to the PyAppify-side change that reads this field for the auto-start countdown. - AppLauncherConfig: read/save the delay (get_app_config() only surfaces fields known to PyAppify, so read app.json directly) - ConfigItemFactory: reuse the existing line_edit rendering, fixed to a narrow width
sakurairsora
force-pushed
the
feat/auto-start-delay-option
branch
from
September 22, 2026 02:02
c84d286 to
dfe4696
Compare
…app.json path - The previous commit referenced APP_LAUNCHER_AUTO_START_DELAY without defining it, so AppLauncherConfig raised NameError on startup as soon as the launcher config was registered - Skip persisting the delay when get_app_json_path() returns None instead of crashing inside __setitem__
|
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.



动机
应用启动器的自动启动倒计时固定 10 秒, 由 PyAppify 侧硬编码; 不同用户对这段纯等待的容忍度差别很大。
配套改动:
改动
App Launcher 卡片新增
Auto Start Delay (seconds)选项(默认 10, 0-3600):AppLauncherConfig: 新键的读取/校验/持久化。注意get_app_config()只返回 PyAppify 认识的字段, 所以等待秒数直接读写 app.json 原文件验证
py_compile通过