mirror of
https://github.com/jahruz67/wisp-open.git
synced 2026-08-08 18:14:08 +00:00
- 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
35 lines
1007 B
Go
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() {}
|