feat: save short cut image to remote by ssh

- add settings for ssh config
- implement save remote function by ssh
This commit is contained in:
2026-06-11 17:10:58 +08:00
parent 3e4d071b4c
commit 050f2b74c3
17 changed files with 1463 additions and 46 deletions
+7
View File
@@ -9,6 +9,7 @@ import (
"github.com/wailsapp/wails/v2/pkg/options/assetserver"
"github.com/wailsapp/wails/v2/pkg/options/mac"
"github.com/mmmy/snapgo/internal/infrastructure/logging"
"github.com/mmmy/snapgo/internal/infrastructure/tray"
)
@@ -16,6 +17,12 @@ import (
var assets embed.FS
func main() {
// Init logging FIRST so the rest of startup (config load, hotkey
// registration, tray bootstrap) is captured to ~/Library/Logs/SnapGo
// even when the binary was launched via `open` and stderr is /dev/null.
closeLog := logging.Init()
defer closeLog()
app := NewApp()
// Wire up the menu-bar agent. Start() returns a `start` thunk that we