fix: Add cross-platform handling for tray, updater, and icon generation

- Add platform notes for tray startup, shortcut saving, and Linux-only settings
- Handle stat error in processRecording (missing file)
- Select correct binary name based on OS in updater
- Increase tray icon canvas size from 64 to 128 pixels
- Update frontend dist asset hash
This commit is contained in:
Your Name
2026-06-09 15:14:30 -07:00
parent 593a5941a1
commit ce49f66c89
29 changed files with 240 additions and 39 deletions
+8 -1
View File
@@ -1,5 +1,12 @@
//go:build !linux
// ============================================================
// WINDOWS-ONLY FILE — This file compiles on Windows (and macOS)
// but NOT on Linux. It uses robotgo for clipboard/paste which
// is Windows-specific in this app. The Linux equivalent is
// text_insert_linux.go which uses ydotool instead.
// ============================================================
package main
import (
@@ -37,6 +44,6 @@ func (a *App) insertTranscription(text string) {
// pasteText simulates Ctrl+V to paste from clipboard
func (a *App) pasteText() {
time.Sleep(200 * time.Millisecond)
time.Sleep(50 * time.Millisecond)
robotgo.KeyTap("v", "ctrl")
}