Skip to content

Commit

Permalink
Merge pull request #286 from lucor/metadata-sync
Browse files Browse the repository at this point in the history
metadata: update Fyne metadata to v2.5.3
  • Loading branch information
lucor authored Jan 12, 2025
2 parents 7df055a + 94f3322 commit 3f364f7
Showing 1 changed file with 23 additions and 2 deletions.
25 changes: 23 additions & 2 deletions internal/metadata/data.go
Original file line number Diff line number Diff line change
@@ -1,9 +1,17 @@
package metadata

// This file containts the Fyne metadata
// @see https://github.com/fyne-io/fyne/blob/v2.5.3/internal/metadata/data.go

// FyneApp describes the top level metadata for building a fyne application
type FyneApp struct {
Website string `toml:",omitempty"`
Details AppDetails
Website string `toml:",omitempty"`
Details AppDetails
Development map[string]string `toml:",omitempty"`
Release map[string]string `toml:",omitempty"`
Source *AppSource `toml:",omitempty"`
LinuxAndBSD *LinuxAndBSD `toml:",omitempty"`
Languages []string `toml:",omitempty"`
}

// AppDetails describes the build information, this group may be OS or arch specific
Expand All @@ -13,3 +21,16 @@ type AppDetails struct {
Version string `toml:",omitempty"`
Build int `toml:",omitempty"`
}

type AppSource struct {
Repo, Dir string `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"`
}

0 comments on commit 3f364f7

Please sign in to comment.