Skip to content

Commit

Permalink
🐛 Fix: windows ia32 && x64 build options
Browse files Browse the repository at this point in the history
  • Loading branch information
Molunerfinn committed Jul 14, 2021
1 parent 49e5f34 commit bdf523a
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 4 deletions.
3 changes: 2 additions & 1 deletion appveyor.yml
Original file line number Diff line number Diff line change
Expand Up @@ -26,6 +26,7 @@ install:

build_script:
#- yarn test
- npm run release
- yarn build --win --ia32
- yarn release

test: off
11 changes: 8 additions & 3 deletions vue.config.js
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,10 @@ function resolve (dir) {
return path.join(__dirname, dir)
}

console.log(process.argv)

const arch = process.argv.includes('--ia32') ? 'ia32' : 'x64'

const config = {
configureWebpack: {
devtool: 'nosources-source-map'
Expand Down Expand Up @@ -66,11 +70,12 @@ const config = {
},
win: {
icon: 'build/icons/icon.ico',
// eslint-disable-next-line no-template-curly-in-string
artifactName: `PicGo Setup \${version}-${arch}.exe`,
target: [{
targe: 'nsis',
target: 'nsis',
arch: [
'x64',
'ia32'
arch
]
}]
},
Expand Down

0 comments on commit bdf523a

Please sign in to comment.