MCPcopy
hub / github.com/wavetermdev/waveterm / ClientPackageType

Function ClientPackageType

pkg/wavebase/wavebase.go:349–357  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

347}
348
349func ClientPackageType() string {
350 if os.Getenv("SNAP") != "" {
351 return "snap"
352 }
353 if os.Getenv("APPIMAGE") != "" {
354 return "appimage"
355 }
356 return ""
357}
358
359var macOSVersionOnce = &sync.Once{}
360var cachedMacOSVersion string

Callers 1

startupActivityUpdateFunction · 0.92

Calls

no outgoing calls

Tested by

no test coverage detected