mirror of
https://github.com/wailsapp/wails.git
synced 2025-05-06 10:50:45 +08:00
18 lines
282 B
Go
18 lines
282 B
Go
//go:build linux
|
|
|
|
package single_instance
|
|
|
|
/*
|
|
#cgo CFLAGS:
|
|
#cgo LDFLAGS:
|
|
|
|
*/
|
|
import "C"
|
|
import "fmt"
|
|
|
|
func (p *Plugin) activeInstance(pid int) error {
|
|
// C.activateApplicationWithProcessID(C.int(pid))
|
|
fmt.Println("[linux] activateInstance - not implemented: ", pid)
|
|
return nil
|
|
}
|