117 lines
2.7 KiB
JSON
117 lines
2.7 KiB
JSON
{
|
|
"appId": "com.termix.app",
|
|
"productName": "Termix",
|
|
"directories": {
|
|
"output": "release"
|
|
},
|
|
"files": [
|
|
"dist/**/*",
|
|
"electron/**/*",
|
|
"public/**/*",
|
|
"!**/node_modules/**/*",
|
|
"!src/**/*",
|
|
"!*.md",
|
|
"!tsconfig*.json",
|
|
"!vite.config.ts",
|
|
"!eslint.config.js"
|
|
],
|
|
"asarUnpack": ["node_modules/node-fetch/**/*"],
|
|
"extraMetadata": {
|
|
"main": "electron/main.cjs"
|
|
},
|
|
"buildDependenciesFromSource": false,
|
|
"nodeGypRebuild": false,
|
|
"npmRebuild": false,
|
|
"win": {
|
|
"target": "nsis",
|
|
"icon": "public/icon.ico",
|
|
"executableName": "Termix"
|
|
},
|
|
"nsis": {
|
|
"oneClick": false,
|
|
"allowToChangeInstallationDirectory": true,
|
|
"artifactName": "${productName}-Setup-${version}.${ext}",
|
|
"createDesktopShortcut": true,
|
|
"createStartMenuShortcut": true,
|
|
"shortcutName": "Termix",
|
|
"uninstallDisplayName": "Termix"
|
|
},
|
|
"linux": {
|
|
"target": [
|
|
{
|
|
"target": "AppImage",
|
|
"arch": ["x64"]
|
|
},
|
|
{
|
|
"target": "tar.gz",
|
|
"arch": ["x64"]
|
|
}
|
|
],
|
|
"icon": "public/icon.png",
|
|
"category": "Development",
|
|
"executableName": "termix",
|
|
"desktop": {
|
|
"entry": {
|
|
"Name": "Termix",
|
|
"Comment": "A web-based server management platform",
|
|
"Keywords": "terminal;ssh;server;management;",
|
|
"StartupWMClass": "termix"
|
|
}
|
|
}
|
|
},
|
|
"mac": {
|
|
"target": [
|
|
{
|
|
"target": "dmg",
|
|
"arch": ["x64", "arm64"]
|
|
},
|
|
{
|
|
"target": "zip",
|
|
"arch": ["x64", "arm64"]
|
|
},
|
|
{
|
|
"target": "mas",
|
|
"arch": ["x64", "arm64"]
|
|
}
|
|
],
|
|
"icon": "public/icon.icns",
|
|
"category": "public.app-category.developer-tools",
|
|
"hardenedRuntime": true,
|
|
"gatekeeperAssess": false,
|
|
"entitlements": "build/entitlements.mac.plist",
|
|
"entitlementsInherit": "build/entitlements.mac.plist",
|
|
"type": "distribution",
|
|
"minimumSystemVersion": "10.15"
|
|
},
|
|
"dmg": {
|
|
"contents": [
|
|
{
|
|
"x": 130,
|
|
"y": 220
|
|
},
|
|
{
|
|
"x": 410,
|
|
"y": 220,
|
|
"type": "link",
|
|
"path": "/Applications"
|
|
}
|
|
],
|
|
"artifactName": "${productName}-${version}-${arch}.${ext}",
|
|
"sign": false,
|
|
"writeUpdateInfo": false
|
|
},
|
|
"mas": {
|
|
"entitlements": "build/entitlements.mas.plist",
|
|
"entitlementsInherit": "build/entitlements.mas.inherit.plist",
|
|
"hardenedRuntime": false,
|
|
"gatekeeperAssess": false,
|
|
"asarUnpack": ["**/*.node"],
|
|
"type": "distribution",
|
|
"category": "public.app-category.developer-tools",
|
|
"extendInfo": {
|
|
"ITSAppUsesNonExemptEncryption": false
|
|
}
|
|
},
|
|
"afterSign": "build/notarize.js"
|
|
}
|