mirror of
https://github.com/pulsar-edit/pulsar.git
synced 2024-09-11 19:17:09 +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) {
|
if(env.BINARY_NAME) {
|
||||||
config.executablePath = env.BINARY_NAME
|
config.executablePath = env.BINARY_NAME
|
||||||
config.args = []
|
config.args = ["--no-sandbox"]
|
||||||
}
|
}
|
||||||
|
|
||||||
if(process.env.CI) {
|
if(process.env.CI) {
|
||||||
|
@ -224,7 +224,8 @@ let options = {
|
|||||||
},
|
},
|
||||||
// Windows Portable Config
|
// Windows Portable Config
|
||||||
portable: {
|
portable: {
|
||||||
// useZip: true
|
useZip: true,
|
||||||
|
unpackDirName: false
|
||||||
},
|
},
|
||||||
// Windows NSIS Configuration
|
// Windows NSIS Configuration
|
||||||
"nsis": {
|
"nsis": {
|
||||||
@ -268,7 +269,8 @@ async function main() {
|
|||||||
options.extraMetadata = generateMetadata(JSON.parse(package))
|
options.extraMetadata = generateMetadata(JSON.parse(package))
|
||||||
builder.build({
|
builder.build({
|
||||||
//targets: Platform.LINUX.createTarget(),
|
//targets: Platform.LINUX.createTarget(),
|
||||||
config: options
|
config: options,
|
||||||
|
verbose: true
|
||||||
}).then((result) => {
|
}).then((result) => {
|
||||||
console.log("Built binaries")
|
console.log("Built binaries")
|
||||||
fs.mkdir('binaries').catch(() => "")
|
fs.mkdir('binaries').catch(() => "")
|
||||||
|
Loading…
Reference in New Issue
Block a user