//go:build (!windows && !linux) || bindings package main import "time" // acquireSingleInstance is a no-op off Windows (the guard uses a Windows named // mutex), and during Wails' binding generation (the `bindings` tag) — that step // runs this binary, and a real OpsLog already running would otherwise make it // exit before Wails could reflect the bindings. func acquireSingleInstance() bool { return true } // waitForProcessExit has nothing to wait on off Windows: there is no // single-instance guard there either, so the relaunch never has to queue behind // the old process. func waitForProcessExit(pid int, timeout time.Duration) bool { return true }