Commit d51d8ba
feat: Add a menu item to reload the configuration files
Add a "Reload Configurations" item to the status-bar menu so users can
manually re-sync every stored configuration's remote formatter files
instead of waiting for the launch / hourly-timer downloads.
- ApplicationDelegate: reloadConfigurations(_:) calls download() on each
stored configuration, reusing the existing launch/timer download path,
which re-fetches over HTTPS and overwrites the shared cache. Fire-and-
forget: download() self-coalesces while a download is already running.
- MainMenu.xib: insert the item plus a trailing separator after the
configuration list, in its own group above "Manage Configurations...".
Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>1 parent db7d3f9 commit d51d8ba
2 files changed
Lines changed: 25 additions & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
379 | 379 | | |
380 | 380 | | |
381 | 381 | | |
| 382 | + | |
| 383 | + | |
| 384 | + | |
| 385 | + | |
| 386 | + | |
| 387 | + | |
| 388 | + | |
| 389 | + | |
| 390 | + | |
| 391 | + | |
| 392 | + | |
| 393 | + | |
| 394 | + | |
| 395 | + | |
| 396 | + | |
| 397 | + | |
| 398 | + | |
| 399 | + | |
382 | 400 | | |
383 | 401 | | |
384 | 402 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
682 | 682 | | |
683 | 683 | | |
684 | 684 | | |
| 685 | + | |
| 686 | + | |
| 687 | + | |
| 688 | + | |
| 689 | + | |
| 690 | + | |
| 691 | + | |
685 | 692 | | |
686 | 693 | | |
687 | 694 | | |
| |||
0 commit comments