mirror of
https://github.com/Kuingsmile/PicList.git
synced 2025-03-14 00:48:12 -04:00
🐛 Fix: windows ia32 && x64 build options
This commit is contained in:
parent
49e5f343f4
commit
bdf523a060
@ -26,6 +26,7 @@ install:
|
|||||||
|
|
||||||
build_script:
|
build_script:
|
||||||
#- yarn test
|
#- yarn test
|
||||||
- npm run release
|
- yarn build --win --ia32
|
||||||
|
- yarn release
|
||||||
|
|
||||||
test: off
|
test: off
|
||||||
|
@ -3,6 +3,10 @@ function resolve (dir) {
|
|||||||
return path.join(__dirname, dir)
|
return path.join(__dirname, dir)
|
||||||
}
|
}
|
||||||
|
|
||||||
|
console.log(process.argv)
|
||||||
|
|
||||||
|
const arch = process.argv.includes('--ia32') ? 'ia32' : 'x64'
|
||||||
|
|
||||||
const config = {
|
const config = {
|
||||||
configureWebpack: {
|
configureWebpack: {
|
||||||
devtool: 'nosources-source-map'
|
devtool: 'nosources-source-map'
|
||||||
@ -66,11 +70,12 @@ const config = {
|
|||||||
},
|
},
|
||||||
win: {
|
win: {
|
||||||
icon: 'build/icons/icon.ico',
|
icon: 'build/icons/icon.ico',
|
||||||
|
// eslint-disable-next-line no-template-curly-in-string
|
||||||
|
artifactName: `PicGo Setup \${version}-${arch}.exe`,
|
||||||
target: [{
|
target: [{
|
||||||
targe: 'nsis',
|
target: 'nsis',
|
||||||
arch: [
|
arch: [
|
||||||
'x64',
|
arch
|
||||||
'ia32'
|
|
||||||
]
|
]
|
||||||
}]
|
}]
|
||||||
},
|
},
|
||||||
|
Loading…
Reference in New Issue
Block a user