Skip to content

Commit bdf523a

Browse files
committed
🐛 Fix: windows ia32 && x64 build options
1 parent 49e5f34 commit bdf523a

File tree

2 files changed

+10
-4
lines changed

2 files changed

+10
-4
lines changed

appveyor.yml

+2-1
Original file line numberDiff line numberDiff line change
@@ -26,6 +26,7 @@ install:
2626

2727
build_script:
2828
#- yarn test
29-
- npm run release
29+
- yarn build --win --ia32
30+
- yarn release
3031

3132
test: off

vue.config.js

+8-3
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,10 @@ function resolve (dir) {
33
return path.join(__dirname, dir)
44
}
55

6+
console.log(process.argv)
7+
8+
const arch = process.argv.includes('--ia32') ? 'ia32' : 'x64'
9+
610
const config = {
711
configureWebpack: {
812
devtool: 'nosources-source-map'
@@ -66,11 +70,12 @@ const config = {
6670
},
6771
win: {
6872
icon: 'build/icons/icon.ico',
73+
// eslint-disable-next-line no-template-curly-in-string
74+
artifactName: `PicGo Setup \${version}-${arch}.exe`,
6975
target: [{
70-
targe: 'nsis',
76+
target: 'nsis',
7177
arch: [
72-
'x64',
73-
'ia32'
78+
arch
7479
]
7580
}]
7681
},

0 commit comments

Comments
 (0)