mirror of
https://github.com/pulsar-edit/pulsar.git
synced 2024-08-17 07:00:22 +03:00
Trying again a Windows Portable ZIP
This commit is contained in:
parent
1c28411965
commit
1c4611896a
@ -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) {
|
||||
|
@ -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(() => "")
|
||||
|
Loading…
Reference in New Issue
Block a user