Skip to content

Commit

Permalink
more linux installer build fix
Browse files Browse the repository at this point in the history
  • Loading branch information
TheTechsTech committed Feb 4, 2018
1 parent 01b1bb5 commit 1db73d9
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion installer.js
Original file line number Diff line number Diff line change
Expand Up @@ -41,7 +41,10 @@ if ((_7zipData.url != null) && (process.platform != "darwin")) {
path.join(binarydestination,s),
{ overwrite: true });
});
if (process.platform !== "win32") whattocopy.forEach(function(s) { fs.chmodSync(path.join(binarydestination,s), 757) });
if (process.platform !== "win32") {
var _7zchmod = ['7z','7z.so','7za','7zCon.sfx','7zr'];
_7zchmod.forEach(function(s) { fs.chmodSync(path.join(binarydestination,s), 757) });
}
console.log('Binaries copied successfully!');
if (mode=='darwin') {
var whattodelete = unarApptocopy.concat(_7zApptocopy).concat( [unarAppfile, _7zAppfile] );
Expand Down

0 comments on commit 1db73d9

Please sign in to comment.