Trying again a Windows Portable ZIP

This commit is contained in:
Maurício Szabo 2023-04-04 00:44:28 -03:00
parent 1c28411965
commit 1c4611896a
2 changed files with 5 additions and 3 deletions

View File

@ -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) {

View File

@ -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(() => "")