Skip to content

Commit

Permalink
fix(snap): fix appindicator icons with snap build (#1453)
Browse files Browse the repository at this point in the history
Close #1452
  • Loading branch information
geekgonecrazy authored and develar committed Apr 11, 2017
1 parent a053229 commit 2ab769d
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions packages/electron-builder/src/targets/snap.ts
Original file line number Diff line number Diff line change
Expand Up @@ -61,7 +61,7 @@ export default class SnapTarget extends Target {

snap.apps = {
[snap.name]: {
command: `desktop-launch $SNAP/${packager.executableName}`,
command: `env TMPDIR=$XDG_RUNTIME_DIR desktop-launch $SNAP/${packager.executableName}`,
plugs: replaceDefault(options.plugs, ["home", "x11", "unity7", "browser-support", "network", "gsettings", "pulseaudio", "opengl"])
}
}
Expand Down Expand Up @@ -128,4 +128,4 @@ export default class SnapTarget extends Target {
}
packager.dispatchArtifactCreated(resultFile, this, arch)
}
}
}

0 comments on commit 2ab769d

Please sign in to comment.