build arm
parent
73a5757500
commit
c397e0204e
|
@ -77,7 +77,7 @@ module.exports = defineConfig({
|
||||||
appId: 'dev-sidecar',
|
appId: 'dev-sidecar',
|
||||||
productName: 'dev-sidecar',
|
productName: 'dev-sidecar',
|
||||||
// eslint-disable-next-line no-template-curly-in-string
|
// eslint-disable-next-line no-template-curly-in-string
|
||||||
artifactName: 'DevSidecar-${version}.${ext}',
|
artifactName: 'DevSidecar-${version}-${arch}.${ext}',
|
||||||
copyright: 'Copyright © 2020-2024 Greper, WangLiang',
|
copyright: 'Copyright © 2020-2024 Greper, WangLiang',
|
||||||
nsis: {
|
nsis: {
|
||||||
oneClick: false,
|
oneClick: false,
|
||||||
|
@ -95,13 +95,25 @@ module.exports = defineConfig({
|
||||||
},
|
},
|
||||||
win: {
|
win: {
|
||||||
icon: 'build/icons/',
|
icon: 'build/icons/',
|
||||||
|
target: [
|
||||||
|
{
|
||||||
|
target: 'nsis',
|
||||||
|
arch: ['x64', 'ia32', 'arm64'],
|
||||||
|
},
|
||||||
|
],
|
||||||
// requestedExecutionLevel: 'highestAvailable' // 加了这个无法开机自启
|
// requestedExecutionLevel: 'highestAvailable' // 加了这个无法开机自启
|
||||||
},
|
},
|
||||||
linux: {
|
linux: {
|
||||||
icon: 'build/mac/',
|
icon: 'build/mac/',
|
||||||
target: [
|
target: [
|
||||||
'deb',
|
{
|
||||||
'AppImage',
|
target: 'deb',
|
||||||
|
arch: ['x64', 'arm64'],
|
||||||
|
},
|
||||||
|
{
|
||||||
|
target: 'AppImage',
|
||||||
|
arch: ['x64', 'arm64'],
|
||||||
|
},
|
||||||
],
|
],
|
||||||
},
|
},
|
||||||
publish: {
|
publish: {
|
||||||
|
|
Loading…
Reference in New Issue