Skip to content

Commit

Permalink
feat: set permissions for suid sandbox helper (#184)
Browse files Browse the repository at this point in the history
  • Loading branch information
nornagon authored and malept committed May 2, 2019
1 parent 2317a4a commit 7297df6
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,7 @@
},
"dependencies": {
"debug": "^4.1.1",
"electron-installer-common": "^0.6.1",
"electron-installer-common": "^0.6.2",
"fs-extra": "^7.0.1",
"get-folder-size": "^2.0.1",
"lodash": "^4.17.4",
Expand Down
1 change: 1 addition & 0 deletions src/installer.js
Original file line number Diff line number Diff line change
Expand Up @@ -56,6 +56,7 @@ class DebianInstaller extends common.ElectronInstaller {
*/
copyApplication () {
return super.copyApplication(src => src !== path.join(this.options.src, 'LICENSE'))
.then(() => this.updateSandboxHelperPermissions())
}

/**
Expand Down

0 comments on commit 7297df6

Please sign in to comment.