diff --git a/integration/helpers.js b/integration/helpers.js index 7d1bf6ce3..7e04e1a98 100644 --- a/integration/helpers.js +++ b/integration/helpers.js @@ -16,7 +16,7 @@ async function openAtom(profilePath, videoName) { } if(env.BINARY_NAME) { config.executablePath = env.BINARY_NAME - config.args = [] + config.args = ["--no-sandbox"] } if(process.env.CI) { diff --git a/script/electron-builder.js b/script/electron-builder.js index 9a195e1db..a5edd1b80 100644 --- a/script/electron-builder.js +++ b/script/electron-builder.js @@ -224,7 +224,8 @@ let options = { }, // Windows Portable Config portable: { - // useZip: true + useZip: true, + unpackDirName: false }, // Windows NSIS Configuration "nsis": { @@ -268,7 +269,8 @@ async function main() { options.extraMetadata = generateMetadata(JSON.parse(package)) builder.build({ //targets: Platform.LINUX.createTarget(), - config: options + config: options, + verbose: true }).then((result) => { console.log("Built binaries") fs.mkdir('binaries').catch(() => "")