Repository navigation
設定画面から常駐を終了し、自動起動を切り替えられるようにする - #15
Conversation
- 「全般」のタブに「Frame の起動時に自動で起動」の切り替えと「KxFCM を終了」(2 回押し)を足す - 終了は終了コード 0 で終える。ユニットは Restart=on-failure なので起動し直されない - 更新が走っている間は終了を受け付けない(起動の確かめ中に止めると巻き戻されるため) - 自動起動はユニットの enable/disable そのもので、設定ファイルには持たない。状態は default.target.wants のリンクで読む - CLI に start、stop、autostart [on|off] を足す - 文言を 9 言語でそろえ、README(日英)と docs を更新する Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01WFzzs75VFErN2DJDhfhYWj
Codex Review Summary: ✅ CompletedThis comment shows the latest Codex review activity on this pull request.
ℹ️ About Codex in GitHubYour team has set up Codex to review pull requests in this repo. Reviews are triggered when you
Codex reacts with 👀 while any review is running, comments if it has suggestions, and reacts with 👍 once all reviews finish with no findings. |
There was a problem hiding this comment.
💡 Codex Review
Here are some automated review suggestions for this pull request.
Reviewed commit: 6028bdd2aa
ℹ️ About Codex in GitHub
Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you
- Open a pull request for review
- Mark a draft as ready
- Comment "@codex review".
If Codex has suggestions, it will comment; otherwise it will react with 👍.
Codex can also answer questions or update the PR. Try commenting "@codex address that feedback".
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01WFzzs75VFErN2DJDhfhYWj
There was a problem hiding this comment.
💡 Codex Review
Here are some automated review suggestions for this pull request.
Reviewed commit: cb82c15886
ℹ️ About Codex in GitHub
Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you
- Open a pull request for review
- Mark a draft as ready
- Comment "@codex review".
If Codex has suggestions, it will comment; otherwise it will react with 👍.
Codex can also answer questions or update the PR. Try commenting "@codex address that feedback".
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01WFzzs75VFErN2DJDhfhYWj
Requested by 回路 · project thread
概要
設定画面(タブ「KxFCM」)の「全般」に、自動起動の切り替えと常駐の終了を足す。CLI にも対応するコマンドを足す。
変更
Restart=on-failureなので systemd は起動し直さない。systemctl stopを呼ばないのは、runを直接起動した場合にも同じに終えるためtry_lock)を取れたときだけ行い、排他はプロセスの終了まで持つ。取れなければ「更新が走っているため終了できません」と出す。更新の段階が出ている間はボタン自体も押せない。起動の確かめ中に止めると、起動失敗と取り違えて巻き戻されるためstopもuninstallと同じく更新の排他を取ってから止めるenable/disableそのもので、設定ファイルには持たない(手で打った systemctl やinstallと食い違わないように)。状態はdefault.target.wantsのリンクの有無で読み、1 秒ごとの再読込でもプロセスを起こさないAutoUpdaterの動き)ので、終了や自動起動 OFF の常駐を勝手に起こさないstart(reset-failed してから start)、stop、autostart [on|off]確認
crystal spec: 366 件通過(追加: CLI の解釈、systemd の呼び出しと自動起動の判定、終了の 2 回押し、更新中の終了の拒否、排他を取れないときの表示、自動起動の切り替えと失敗表示)scripts/preview_dashboard.crで 9 言語の「全般」タブを描き、文言が枠に収まることを確認🤖 Generated with Claude Code
https://claude.ai/code/session_01WFzzs75VFErN2DJDhfhYWj