Skip to content

Self-hosted, plugin-based server management.

4.8 KB
Raw Blame
{
  "appId": "com.karmaa.termix",
  "productName": "Termix",
  "publish": {
    "provider": "generic",
    "url": "https://github.com/Termix-SSH/Termix/releases/latest/download"
  },
  "directories": {
    "output": "release"
  },
  "asar": true,
  "asarUnpack": [
    "dist/backend/**/*",
    "dist/plugins/**/*",
    "node_modules/**/*",
    "public/icons/**/*",
    "public/icon.*"
  ],
  "files": [
    "dist/**/*",
    "electron/**/*",
    "public/**/*",
    "!src/**/*",
    "!*.md",
    "!tsconfig*.json",
    "!vite.config.ts",
    "!eslint.config.js",
    "!node_modules/@napi-rs/canvas*/**/*",
    "!node_modules/@rollup/rollup-darwin-*/**/*",
    "!node_modules/@rollup/rollup-linux-*/**/*",
    "!node_modules/@rollup/rollup-win32-*/**/*",
    "!dist/icon-mac.png",
    "!public/icon-mac.png",
    "!dist/icon.ico",
    "!dist/icon.icns",
    "!public/icon.icns"
  ],
  "extraMetadata": {
    "main": "electron/main.cjs",
    "type": "commonjs"
  },
  "buildDependenciesFromSource": false,
  "nodeGypRebuild": false,
  "npmRebuild": true,
  "win": {
    "target": [
      {
        "target": "nsis",
        "arch": ["x64", "ia32", "arm64"]
      },
      {
        "target": "msi",
        "arch": ["x64", "ia32", "arm64"]
      }
    ],
    "icon": "public/icon.ico",
    "executableName": "Termix"
  },
  "nsis": {
    "oneClick": false,
    "allowToChangeInstallationDirectory": true,
    "artifactName": "termix_windows_${arch}_nsis.${ext}",
    "createDesktopShortcut": true,
    "createStartMenuShortcut": true,
    "installerIcon": "public/icon.ico",
    "uninstallerIcon": "public/icon.ico",
    "shortcutName": "Termix",
    "uninstallDisplayName": "Termix",
    "include": "electron/installer.nsh"
  },
  "msi": {
    "artifactName": "termix_windows_${arch}_msi.${ext}",
    "oneClick": false,
    "additionalLightArgs": ["-sice:ICE57"]
  },
  "linux": {
    "artifactName": "termix_linux_${arch}_portable.${ext}",
    "target": [
      {
        "target": "AppImage",
        "arch": ["x64", "arm64", "armv7l"]
      },
      {
        "target": "deb",
        "arch": ["x64", "arm64", "armv7l"]
      },
      {
        "target": "tar.gz",
        "arch": ["x64", "arm64", "armv7l"]
      }
    ],
    "icon": "public/icons",
    "category": "Development",
    "executableName": "termix",
    "maintainer": "Termix <[email protected]>",
    "desktop": {
      "entry": {
        "Name": "Termix",
        "Comment": "Self-hosted, plugin-based server management.",
        "Keywords": "docker;ssh;terminal;telnet;self-hosted;rdp;file-management;vnc;ssh-tunnel;server-stats;termix",
        "StartupWMClass": "termix"
      }
    }
  },
  "appImage": {
    "artifactName": "termix_linux_${arch}_appimage.${ext}"
  },
  "deb": {
    "artifactName": "termix_linux_${arch}_deb.${ext}"
  },
  "mac": {
    "target": [
      {
        "target": "mas",
        "arch": "universal"
      },
      {
        "target": "dmg",
        "arch": ["universal", "x64", "arm64"]
      },
      {
        "target": "zip",
        "arch": ["x64", "arm64"]
      }
    ],
    "artifactName": "termix_macos_${arch}_update.${ext}",
    "icon": "public/icon.icns",
    "category": "public.app-category.developer-tools",
    "hardenedRuntime": true,
    "gatekeeperAssess": false,
    "extendInfo": {
      "NSLocalNetworkUsageDescription": "Termix connects to servers and hosts on your local network.",
      "NSBonjourServices": ["_http._tcp", "_https._tcp", "_ssh._tcp"]
    },
    "entitlements": "packaging/build/entitlements.mac.plist",
    "entitlementsInherit": "packaging/build/entitlements.mac.inherit.plist",
    "type": "distribution",
    "minimumSystemVersion": "12.0",
    "mergeASARs": false,
    "singleArchFiles": "**/*.{node,bare,dylib}",
    "x64ArchFiles": "**/{*.{node,bare,dylib},node-pty/prebuilds/*/spawn-helper}"
  },
  "dmg": {
    "artifactName": "termix_macos_${arch}_dmg.${ext}",
    "sign": true
  },
  "afterPack": "packaging/build/after-pack.cjs",
  "afterSign": "packaging/build/notarize.cjs",
  "mas": {
    "provisioningProfile": "packaging/build/Termix_Mac_App_Store.provisionprofile",
    "entitlements": "packaging/build/entitlements.mas.plist",
    "entitlementsInherit": "packaging/build/entitlements.mas.inherit.plist",
    "hardenedRuntime": false,
    "gatekeeperAssess": false,
    "type": "distribution",
    "category": "public.app-category.developer-tools",
    "artifactName": "termix_macos_${arch}_mas.${ext}",
    "extendInfo": {
      "ITSAppUsesNonExemptEncryption": false,
      "NSLocalNetworkUsageDescription": "Termix connects to servers and hosts on your local network.",
      "NSBonjourServices": ["_http._tcp", "_https._tcp", "_ssh._tcp"],
      "NSAppleEventsUsageDescription": "Termix needs access to control other applications for terminal operations."
    }
  },
  "generateUpdatesFilesForAllChannels": false,
  "msiProjectCreated": "packaging/build/msi-shortcuts.cjs"
}