Skip to content

Commit

Permalink
Update installer.js
Browse files Browse the repository at this point in the history
  • Loading branch information
nornagon committed Mar 8, 2019
1 parent 2b8e09c commit 263b28f
Showing 1 changed file with 1 addition and 8 deletions.
9 changes: 1 addition & 8 deletions src/installer.js
Original file line number Diff line number Diff line change
Expand Up @@ -26,6 +26,7 @@ class RedhatInstaller extends common.ElectronInstaller {
get contentFunctions () {
return [
'copyApplication',
'updateSandboxHelperPermissions',
'copyLinuxIcons',
'createBinarySymlink',
'createCopyright',
Expand All @@ -46,14 +47,6 @@ class RedhatInstaller extends common.ElectronInstaller {
return path.join(this.stagingDir, 'SPECS', `${this.options.name}.spec`)
}

/**
* Copy the application into the package.
*/
copyApplication () {
return super.copyApplication()
.then(() => this.updateSandboxHelperPermissions())
}

/**
* Creates macros file used by `rpmbuild`.
*/
Expand Down

0 comments on commit 263b28f

Please sign in to comment.