mirror of
https://github.com/wailsapp/wails.git
synced 2025-05-04 06:22:16 +08:00
Expose System methods in Go runtime
This commit is contained in:
parent
0113fbff4f
commit
5a85a6e4f9
@ -11,6 +11,8 @@ import (
|
||||
// System defines all System related operations
|
||||
type System interface {
|
||||
IsDarkMode() bool
|
||||
Platform() string
|
||||
AppType() string
|
||||
}
|
||||
|
||||
// system exposes the System interface
|
||||
|
Loading…
Reference in New Issue
Block a user