Skip to content

Commit

Permalink
Merge pull request #4511 from andydotxyz/fix/execspace
Browse files Browse the repository at this point in the history
Strip space when no params are added on Linux
  • Loading branch information
andydotxyz authored Jan 4, 2024
2 parents 69a496a + f6be177 commit 33809ea
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion cmd/fyne/internal/templates/bundled.go

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion cmd/fyne/internal/templates/data/app.desktop
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ Type=Application
Name={{.Name}}
{{- if ne .GenericName ""}}
GenericName={{.GenericName}}{{end}}
Exec={{.Exec}} {{.ExecParams}}
Exec={{.Exec}} {{- .ExecParams}}
Icon={{.Name}}
{{- if ne .Comment ""}}
Comment={{.Comment}}{{end}}
Expand Down

0 comments on commit 33809ea

Please sign in to comment.