mirror of
https://github.com/wailsapp/wails.git
synced 2025-05-04 08:19:35 +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
|
// System defines all System related operations
|
||||||
type System interface {
|
type System interface {
|
||||||
IsDarkMode() bool
|
IsDarkMode() bool
|
||||||
|
Platform() string
|
||||||
|
AppType() string
|
||||||
}
|
}
|
||||||
|
|
||||||
// system exposes the System interface
|
// system exposes the System interface
|
||||||
|
Loading…
Reference in New Issue
Block a user