5
0
mirror of https://github.com/wailsapp/wails.git synced 2025-05-04 09:21:44 +08:00
wails/v3/pkg/application/environment.go
2024-03-19 20:37:03 +11:00

19 lines
549 B
Go

package application
import "github.com/wailsapp/wails/v3/internal/operatingsystem"
// EnvironmentInfo represents information about the current environment.
//
// Fields:
// - OS: the operating system that the program is running on.
// - Arch: the architecture of the operating system.
// - Debug: indicates whether debug mode is enabled.
// - OSInfo: information about the operating system.
type EnvironmentInfo struct {
OS string
Arch string
Debug bool
OSInfo *operatingsystem.OS
PlatformInfo map[string]any
}