mirror of
https://github.com/wailsapp/wails.git
synced 2026-03-14 14:45:49 +01:00
[v3 linux] add non-functional activeInstance implementation
This commit is contained in:
parent
a0953fea93
commit
a9d4a393ba
1 changed files with 17 additions and 0 deletions
17
v3/plugins/single_instance/plugin_linux.go
Normal file
17
v3/plugins/single_instance/plugin_linux.go
Normal file
|
|
@ -0,0 +1,17 @@
|
|||
//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
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue