forked from fyne-io/fyne
/
data.go
27 lines (24 loc) · 914 Bytes
/
data.go
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
package metadata
// FyneApp describes the top level metadata for building a fyne application
type FyneApp struct {
Website string `toml:",omitempty"`
Details AppDetails
Development map[string]string `toml:",omitempty"`
Release map[string]string `toml:",omitempty"`
LinuxAndBSD *LinuxAndBSD `toml:",omitempty"`
}
// AppDetails describes the build information, this group may be OS or arch specific
type AppDetails struct {
Icon string `toml:",omitempty"`
Name, ID string `toml:",omitempty"`
Version string `toml:",omitempty"`
Build int `toml:",omitempty"`
}
// LinuxAndBSD describes specific metadata for desktop files on Linux and BSD.
type LinuxAndBSD struct {
GenericName string `toml:",omitempty"`
Categories []string `toml:",omitempty"`
Comment string `toml:",omitempty"`
Keywords []string `toml:",omitempty"`
ExecParams string `toml:",omitempty"`
}