Skip to content

Commit 16b2a70

Browse files
committed
Mime is plural
1 parent 291b65e commit 16b2a70

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

cmd/fyne/internal/commands/package-unix.go

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -64,8 +64,8 @@ func (p *Packager) packageUNIX() error {
6464

6565
mimes := ""
6666
openWith := ""
67-
if p.OpenWith != nil && p.OpenWith.MimeType != "" {
68-
mimes = p.OpenWith.MimeType
67+
if p.OpenWith != nil && p.OpenWith.MimeTypes != "" {
68+
mimes = p.OpenWith.MimeTypes
6969
openWith = " %F"
7070
}
7171

cmd/fyne/internal/metadata/data.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -36,5 +36,5 @@ type LinuxAndBSD struct {
3636
}
3737

3838
type OpenWith struct {
39-
MimeType string `toml:",omitempty"`
39+
MimeTypes string `toml:",omitempty"`
4040
}

0 commit comments

Comments
 (0)