Detect missing Syncthing, rewrite README with architecture diagram
Some checks failed
Release / build (push) Failing after 2m53s
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:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user