Skip to content

Commit

Permalink
fix(snap): interface 'platform' doesn't exist
Browse files Browse the repository at this point in the history
Close #1123
  • Loading branch information
develar committed Jan 16, 2017
1 parent 8670d5a commit ade922c
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion packages/electron-builder/src/targets/snap.ts
Original file line number Diff line number Diff line change
Expand Up @@ -62,12 +62,13 @@ export default class SnapTarget extends Target {
[snap.name]: {
command: `desktop-launch $SNAP/${packager.executableName}`,
plugs: [
"home", "x11", "unity7", "unity8", "browser-support", "network", "gsettings", "pulseaudio", "opengl", "platform",
"home", "x11", "unity7", "browser-support", "network", "gsettings", "pulseaudio", "opengl",
]
}
}

if (isUseUbuntuPlatform) {
snap.apps[snap.name].plugs.push("platform")
snap.plugs = {
platform: {
interface: "content",
Expand Down

0 comments on commit ade922c

Please sign in to comment.