Skip to content

Commit

Permalink
fix(snap): add missing %U in desktop file of snap builds (#5001)
Browse files Browse the repository at this point in the history
Co-authored-by: Timothy Lui <timothy@eaten.io>
  • Loading branch information
timothylui and Timothy Lui authored Sep 22, 2020
1 parent d96b3d3 commit df5d050
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion packages/app-builder-lib/src/targets/snap.ts
Original file line number Diff line number Diff line change
Expand Up @@ -189,7 +189,7 @@ export default class SnapTarget extends Target {
// snapcraft.yaml inside a snap directory
const snapMetaDir = path.join(stageDir, this.isUseTemplateApp ? "meta" : "snap")
const desktopFile = path.join(snapMetaDir, "gui", `${snap.name}.desktop`)
await this.helper.writeDesktopEntry(this.options, packager.executableName, desktopFile, {
await this.helper.writeDesktopEntry(this.options, packager.executableName + " %U", desktopFile, {
// tslint:disable:no-invalid-template-strings
Icon: "${SNAP}/meta/gui/icon.png"
})
Expand Down

0 comments on commit df5d050

Please sign in to comment.