pack: separate electron builder settings into separate files
This commit is contained in:
1 parent
8f6440499f
commit
211056f0ed
2 files changed
+93
-93
No files matched your search
@@ -0,0 +1,93 @@
|
|||||||
|
{
|
||||||
|
"productName": "Vutron",
|
||||||
|
"appId": "com.vutron.vutron",
|
||||||
|
"compression": "maximum",
|
||||||
|
"directories": {
|
||||||
|
"buildResources": "buildRes",
|
||||||
|
"output": "./dist/release/${version}"
|
||||||
|
},
|
||||||
|
"files": [
|
||||||
|
"dist/**/*",
|
||||||
|
"!dist/release/**/*"
|
||||||
|
],
|
||||||
|
"artifactName": "${productName} ${version}.${ext}",
|
||||||
|
"mac": {
|
||||||
|
"bundleVersion": "1.0",
|
||||||
|
"hardenedRuntime": true,
|
||||||
|
"gatekeeperAssess": false,
|
||||||
|
"icon": "buildRes/icons/icon.icns",
|
||||||
|
"type": "distribution",
|
||||||
|
"target": [
|
||||||
|
{
|
||||||
|
"target": "dmg",
|
||||||
|
"arch": [
|
||||||
|
"x64",
|
||||||
|
"arm64",
|
||||||
|
"universal"
|
||||||
|
]
|
||||||
|
}
|
||||||
|
]
|
||||||
|
},
|
||||||
|
"dmg": {
|
||||||
|
"contents": [
|
||||||
|
{
|
||||||
|
"x": 410,
|
||||||
|
"y": 150,
|
||||||
|
"type": "link",
|
||||||
|
"path": "/Applications"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"x": 130,
|
||||||
|
"y": 150,
|
||||||
|
"type": "file"
|
||||||
|
}
|
||||||
|
],
|
||||||
|
"sign": false
|
||||||
|
},
|
||||||
|
"win": {
|
||||||
|
"icon": "buildRes/icons/icon.ico",
|
||||||
|
"target": [
|
||||||
|
{
|
||||||
|
"target": "appx",
|
||||||
|
"arch": "x64"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"target": "zip",
|
||||||
|
"arch": "x64"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"target": "portable",
|
||||||
|
"arch": "x64"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"target": "nsis",
|
||||||
|
"arch": "x64"
|
||||||
|
}
|
||||||
|
]
|
||||||
|
},
|
||||||
|
"portable": {
|
||||||
|
"artifactName": "${productName} ${version} Portable.${ext}"
|
||||||
|
},
|
||||||
|
"nsis": {
|
||||||
|
"oneClick": true
|
||||||
|
},
|
||||||
|
"linux": {
|
||||||
|
"executableName": "vutron",
|
||||||
|
"icon": "buildRes/icons",
|
||||||
|
"category": "Utility",
|
||||||
|
"target": [
|
||||||
|
{
|
||||||
|
"target": "snap",
|
||||||
|
"arch": "x64"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"target": "deb",
|
||||||
|
"arch": "x64"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"target": "rpm",
|
||||||
|
"arch": "x64"
|
||||||
|
}
|
||||||
|
]
|
||||||
|
}
|
||||||
|
}
|
||||||
@@ -43,98 +43,5 @@
|
|||||||
"vite": "^3.1.4",
|
"vite": "^3.1.4",
|
||||||
"vite-plugin-electron": "^0.9.3",
|
"vite-plugin-electron": "^0.9.3",
|
||||||
"vue-eslint-parser": "^9.1.0"
|
"vue-eslint-parser": "^9.1.0"
|
||||||
},
|
|
||||||
"build": {
|
|
||||||
"productName": "Vutron",
|
|
||||||
"appId": "com.vutron.vutron",
|
|
||||||
"compression": "maximum",
|
|
||||||
"directories": {
|
|
||||||
"buildResources": "buildRes",
|
|
||||||
"output": "./dist/release/${version}"
|
|
||||||
},
|
|
||||||
"files": [
|
|
||||||
"dist/**/*",
|
|
||||||
"!dist/release/**/*"
|
|
||||||
],
|
|
||||||
"artifactName": "${productName} ${version}.${ext}",
|
|
||||||
"mac": {
|
|
||||||
"bundleVersion": "1.0",
|
|
||||||
"hardenedRuntime": true,
|
|
||||||
"gatekeeperAssess": false,
|
|
||||||
"icon": "buildRes/icons/icon.icns",
|
|
||||||
"type": "distribution",
|
|
||||||
"target": [
|
|
||||||
{
|
|
||||||
"target": "dmg",
|
|
||||||
"arch": [
|
|
||||||
"x64",
|
|
||||||
"arm64",
|
|
||||||
"universal"
|
|
||||||
]
|
|
||||||
}
|
|
||||||
]
|
|
||||||
},
|
|
||||||
"dmg": {
|
|
||||||
"contents": [
|
|
||||||
{
|
|
||||||
"x": 410,
|
|
||||||
"y": 150,
|
|
||||||
"type": "link",
|
|
||||||
"path": "/Applications"
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"x": 130,
|
|
||||||
"y": 150,
|
|
||||||
"type": "file"
|
|
||||||
}
|
|
||||||
],
|
|
||||||
"sign": false
|
|
||||||
},
|
|
||||||
"win": {
|
|
||||||
"icon": "buildRes/icons/icon.ico",
|
|
||||||
"target": [
|
|
||||||
{
|
|
||||||
"target": "appx",
|
|
||||||
"arch": "x64"
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"target": "zip",
|
|
||||||
"arch": "x64"
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"target": "portable",
|
|
||||||
"arch": "x64"
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"target": "nsis",
|
|
||||||
"arch": "x64"
|
|
||||||
}
|
|
||||||
]
|
|
||||||
},
|
|
||||||
"portable": {
|
|
||||||
"artifactName": "${productName} ${version} Portable.${ext}"
|
|
||||||
},
|
|
||||||
"nsis": {
|
|
||||||
"oneClick": true
|
|
||||||
},
|
|
||||||
"linux": {
|
|
||||||
"executableName": "vutron",
|
|
||||||
"icon": "buildRes/icons",
|
|
||||||
"category": "Utility",
|
|
||||||
"target": [
|
|
||||||
{
|
|
||||||
"target": "snap",
|
|
||||||
"arch": "x64"
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"target": "deb",
|
|
||||||
"arch": "x64"
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"target": "rpm",
|
|
||||||
"arch": "x64"
|
|
||||||
}
|
|
||||||
]
|
|
||||||
}
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
Reference in new issue
Block a user