mirror of
https://github.com/netbirdio/netbird.git
synced 2026-04-16 07:16:38 +00:00
14 lines
341 B
Go
14 lines
341 B
Go
//go:build windows
|
|
|
|
package internal
|
|
|
|
import vncserver "github.com/netbirdio/netbird/client/vnc/server"
|
|
|
|
func newPlatformVNC() (vncserver.ScreenCapturer, vncserver.InputInjector) {
|
|
return vncserver.NewDesktopCapturer(), vncserver.NewWindowsInputInjector()
|
|
}
|
|
|
|
func vncNeedsServiceMode() bool {
|
|
return vncserver.GetCurrentSessionID() == 0
|
|
}
|