mirror of
https://github.com/Control-D-Inc/ctrld.git
synced 2026-02-03 22:18:39 +00:00
Move client information related functions from client_info_*.go to desktop_*.go files to better organize platform-specific code and separate desktop functionality from shared code. No functional changes.
11 lines
300 B
Go
11 lines
300 B
Go
package ctrld
|
|
|
|
// IsDesktopPlatform indicates if ctrld is running on a desktop platform,
|
|
// currently defined as macOS or Windows workstation.
|
|
func IsDesktopPlatform() bool {
|
|
return true
|
|
}
|
|
|
|
// SelfDiscover reports whether ctrld should only do self discover.
|
|
func SelfDiscover() bool { return true }
|