5
0
mirror of https://github.com/wailsapp/wails.git synced 2025-05-04 06:09:56 +08:00

Expose System methods in Go runtime

This commit is contained in:
Lea Anthony 2020-10-23 11:24:52 +11:00
parent 0113fbff4f
commit 5a85a6e4f9
No known key found for this signature in database
GPG Key ID: 33DAF7BB90A58405

View File

@ -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