Files
wisp-open/main_instance_stub.go
Your Name ce49f66c89 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
2026-06-09 15:14:30 -07:00

35 lines
1007 B
Go

//go:build windows
// ============================================================
// WINDOWS-ONLY FILE — Stub for the Unix domain socket IPC.
// On Windows, single-instance enforcement uses a lock file
// (see main.go), and helper invocations don't use Unix sockets.
// The real Unix implementation is in main_instance_unix.go
// ============================================================
package main
// secondInstanceWake is unused on Windows (second-instance UX not wired here).
var secondInstanceWake = make(chan struct{}, 8)
// secondInstanceCommand is unused on Windows (second-instance UX not wired here).
var secondInstanceCommand = make(chan byte, 16)
const (
instanceCmdShow byte = 1
instanceCmdStart byte = 2
instanceCmdStop byte = 3
instanceCmdToggle byte = 4
)
func tryNotifyRunningInstanceToShow() bool {
return false
}
func tryNotifyRunningInstanceAction(action string) bool {
return false
}
func runSecondInstanceListener() {}
func cleanupSecondInstanceListener() {}