mirror of
https://github.com/Syngnat/GoNavi.git
synced 2026-08-06 22:53:35 +08:00
- 仅对带 MSI 安装标识的 Windows 主程序启用单实例门禁,Portable 与特殊运行模式保持原行为 - 重复启动通过命名事件唤醒首个窗口,并兼容 Wails 运行时尚未就绪的激活请求 - 新增并发抢占、窗口激活与安装模式测试,覆盖同一安装仅保留一个主实例
8 lines
141 B
Go
8 lines
141 B
Go
//go:build !windows
|
|
|
|
package main
|
|
|
|
func acquireWindowsMSISingleInstance(_ string, _ func()) (func(), bool, error) {
|
|
return nil, true, nil
|
|
}
|