Detect missing Syncthing, rewrite README with architecture diagram
Some checks failed
Release / build (push) Failing after 2m53s

Add Syncthing installation detection (PATH + config file check) to both
the tray app and setup installer. When missing, the tray shows an
"Install Syncthing..." menu item and the setup opens the download page.

Rewrite README with Mermaid topology graph, per-binary dependency tables,
project layout, API endpoint reference, and shields.io badges.

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
This commit is contained in:
Axel Meyer
2026-03-04 00:08:34 +01:00
parent 11e5c9b915
commit 99eeffcbe4
6 changed files with 259 additions and 26 deletions

View File

@@ -25,6 +25,13 @@ func (a *App) buildMenu() {
a.lastSyncItem = systray.AddMenuItem("Last sync: —", "")
a.lastSyncItem.Disable()
if a.syncthingMissing {
mInstall := systray.AddMenuItem("Install Syncthing...", "Download Syncthing")
mInstall.Click(func() {
openBrowser(st.DownloadURL)
})
}
systray.AddSeparator()
// Open Admin Panel