From 3e3cbde163dad8796921ddd5c67e2af1201d99d8 Mon Sep 17 00:00:00 2001 From: "Scott E. Graves" Date: Sat, 6 Apr 2019 23:48:34 -0500 Subject: [PATCH] Fix executable permission --- electron.js | 3 +++ 1 file changed, 3 insertions(+) diff --git a/electron.js b/electron.js index faf0556..44bee2c 100644 --- a/electron.js +++ b/electron.js @@ -517,6 +517,9 @@ ipcMain.on(Constants.IPC_Extract_Release, (event, data) => { } catch (e) { } stream.close(); + if (os.platform() !== 'win32') { + helpers.executeAndWait("chmod +x \"" + path.join(destination, 'repertory') + "\""); + } standardIPCReply(event, Constants.IPC_Extract_Release_Complete, { Source: data.Source, }, error);