138 lines
2.7 KiB
JSON
138 lines
2.7 KiB
JSON
{
|
|
"appId": "org.electerm.electerm",
|
|
"directories": {
|
|
"app": "work/app",
|
|
"output": "dist",
|
|
"buildResources": "node_modules/@electerm/electerm-resource/build-res"
|
|
},
|
|
"electronLanguages": [
|
|
"en-US"
|
|
],
|
|
"asar": true,
|
|
"artifactName": "${productName}-${version}-${os}-${arch}.${ext}",
|
|
"win": {
|
|
"target": [
|
|
"tar.gz",
|
|
"appx",
|
|
"nsis"
|
|
],
|
|
"icon": "node_modules/@electerm/electerm-resource/build/icons-win.ico",
|
|
"publish": {
|
|
"provider": "github",
|
|
"channel": "${env.WORKFLOW_NAME}"
|
|
}
|
|
},
|
|
"protocols": [
|
|
{
|
|
"name": "SSH Protocol",
|
|
"schemes": [
|
|
"ssh"
|
|
]
|
|
},
|
|
{
|
|
"name": "Telnet Protocol",
|
|
"schemes": [
|
|
"telnet"
|
|
]
|
|
},
|
|
{
|
|
"name": "RDP Protocol",
|
|
"schemes": [
|
|
"rdp"
|
|
]
|
|
},
|
|
{
|
|
"name": "VNC Protocol",
|
|
"schemes": [
|
|
"vnc"
|
|
]
|
|
},
|
|
{
|
|
"name": "Serial Protocol",
|
|
"schemes": [
|
|
"serial"
|
|
]
|
|
},
|
|
{
|
|
"name": "Spice Protocol",
|
|
"schemes": [
|
|
"spice"
|
|
]
|
|
},
|
|
{
|
|
"name": "Electerm Protocol",
|
|
"schemes": [
|
|
"electerm"
|
|
]
|
|
}
|
|
],
|
|
"appx": {
|
|
"applicationId": "electerm",
|
|
"identityName": "64159ZHAOXudong.electerm",
|
|
"publisher": "CN=9F481654-170A-434C-8259-984D2EB1FD7F",
|
|
"publisherDisplayName": "ZHAO Xudong"
|
|
},
|
|
"nsis": {
|
|
"oneClick": false,
|
|
"artifactName": "${productName}-${version}-${os}-${arch}-installer.${ext}",
|
|
"allowToChangeInstallationDirectory": true
|
|
},
|
|
"mac": {
|
|
"category": "public.app-category.developer-tools",
|
|
"target": "dmg",
|
|
"icon": "node_modules/@electerm/electerm-resource/build/icons.icns",
|
|
"publish": {
|
|
"provider": "github",
|
|
"channel": "${env.WORKFLOW_NAME}"
|
|
},
|
|
"hardenedRuntime": true,
|
|
"gatekeeperAssess": false,
|
|
"entitlements": "./build/entitlements.plist",
|
|
"entitlementsInherit": "./build/entitlements.plist",
|
|
"notarize": true
|
|
},
|
|
"dmg": {
|
|
"contents": [
|
|
{
|
|
"x": 110,
|
|
"y": 190
|
|
},
|
|
{
|
|
"x": 440,
|
|
"y": 190,
|
|
"type": "link",
|
|
"path": "/Applications"
|
|
}
|
|
]
|
|
},
|
|
"linux": {
|
|
"category": "Development;System;TerminalEmulator",
|
|
"icon": "node_modules/@electerm/electerm-resource/res/imgs",
|
|
"target": [
|
|
"rpm",
|
|
"deb",
|
|
"tar.gz",
|
|
"snap"
|
|
],
|
|
"publish": {
|
|
"provider": "github",
|
|
"channel": "${env.WORKFLOW_NAME}"
|
|
},
|
|
"desktop": {
|
|
"entry": {
|
|
"StartupWMClass": "electerm"
|
|
}
|
|
}
|
|
},
|
|
"snap": {
|
|
"confinement": "classic",
|
|
"publish": {
|
|
"provider": "github",
|
|
"channel": "${env.WORKFLOW_NAME}"
|
|
}
|
|
},
|
|
"deb": {
|
|
"afterInstall": "build/bin/linux-deb-after-build.sh"
|
|
}
|
|
}
|