mirror of
https://github.com/safing/portmaster
synced 2025-09-01 18:19:12 +00:00
151 lines
5.3 KiB
Text
151 lines
5.3 KiB
Text
{
|
|
"build": {
|
|
"beforeDevCommand": {
|
|
"script": "npm run tauri-dev",
|
|
"cwd": "../../angular",
|
|
"wait": false
|
|
},
|
|
"frontendDist": "../../angular/dist/tauri-builtin",
|
|
"devUrl": "http://localhost:4100"
|
|
},
|
|
"plugins": {
|
|
"cli": {
|
|
"args": [
|
|
{
|
|
"short": "d",
|
|
"name": "data",
|
|
"description": "Path to the installation directory",
|
|
"takesValue": true
|
|
},
|
|
{
|
|
"short": "b",
|
|
"name": "background",
|
|
"description": "Start in the background without opening a window"
|
|
},
|
|
{
|
|
"name": "log",
|
|
"description": "Log level to use: off, error, warn, info, debug, trace",
|
|
"takesValue": true
|
|
},
|
|
{
|
|
"name": "no-notifications",
|
|
"description": "Disable notifications via Tauri."
|
|
},
|
|
{
|
|
"name": "no-prompts",
|
|
"description": "Disable prompt support via Tauri."
|
|
},
|
|
]
|
|
}
|
|
},
|
|
"productName": "Portmaster",
|
|
"identifier": "io.safing.portmaster", // this is added as a property to the shortcut on windows (ApplicationUserModelID). Used for notifications.
|
|
"app": {
|
|
"withGlobalTauri": true,
|
|
"enableGTKAppId": false,
|
|
"security": {
|
|
"csp": null
|
|
}
|
|
},
|
|
"bundle": {
|
|
"active": true,
|
|
"category": "Utility",
|
|
"copyright": "Safing Limited Inc",
|
|
"linux": {
|
|
"deb": {
|
|
"depends": [
|
|
"libayatana-appindicator3-1"
|
|
],
|
|
"desktopTemplate": "../../../packaging/linux/portmaster.desktop",
|
|
"files": {
|
|
// Service file
|
|
"/usr/lib/systemd/system/portmaster.service": "../../../packaging/linux/portmaster.service",
|
|
|
|
// Binary files
|
|
"/usr/lib/portmaster/portmaster-core": "binary/portmaster-core",
|
|
"/usr/lib/portmaster/portmaster.zip": "binary/portmaster.zip",
|
|
"/usr/lib/portmaster/assets.zip": "binary/assets.zip",
|
|
|
|
// Intel files
|
|
"/var/lib/portmaster/intel/index.json": "intel/index.json",
|
|
"/var/lib/portmaster/intel/base.dsdl": "intel/base.dsdl",
|
|
"/var/lib/portmaster/intel/geoipv4.mmdb": "intel/geoipv4.mmdb",
|
|
"/var/lib/portmaster/intel/geoipv6.mmdb": "intel/geoipv6.mmdb",
|
|
"/var/lib/portmaster/intel/index.dsd": "intel/index.dsd",
|
|
"/var/lib/portmaster/intel/intermediate.dsdl": "intel/intermediate.dsdl",
|
|
"/var/lib/portmaster/intel/urgent.dsdl": "intel/urgent.dsdl",
|
|
|
|
"/var/lib/portmaster/intel/main-intel.yaml" : "intel/main-intel.yaml",
|
|
"/var/lib/portmaster/intel/notifications.yaml": "intel/notifications.yaml",
|
|
"/var/lib/portmaster/intel/news.yaml" : "intel/news.yaml",
|
|
|
|
// Shortcut
|
|
"/etc/xdg/autostart/portmaster.desktop": "../../../packaging/linux/portmaster-autostart.desktop"
|
|
},
|
|
"postInstallScript": "../../../packaging/linux/postinst",
|
|
"postRemoveScript": "../../../packaging/linux/postrm"
|
|
},
|
|
"rpm": {
|
|
"depends": [
|
|
"libayatana-appindicator-gtk3"
|
|
],
|
|
"desktopTemplate": "../../../packaging/linux/portmaster.desktop",
|
|
"release": "1",
|
|
"files": {
|
|
// Service file
|
|
"/usr/lib/systemd/system/portmaster.service": "../../../packaging/linux/portmaster.service",
|
|
|
|
// Binary files
|
|
"/usr/lib/portmaster/portmaster-core": "binary/portmaster-core",
|
|
"/usr/lib/portmaster/portmaster.zip": "binary/portmaster.zip",
|
|
"/usr/lib/portmaster/assets.zip": "binary/assets.zip",
|
|
|
|
// Intel files
|
|
"/var/lib/portmaster/intel/index.json": "intel/index.json",
|
|
"/var/lib/portmaster/intel/base.dsdl": "intel/base.dsdl",
|
|
"/var/lib/portmaster/intel/geoipv4.mmdb": "intel/geoipv4.mmdb",
|
|
"/var/lib/portmaster/intel/geoipv6.mmdb": "intel/geoipv6.mmdb",
|
|
"/var/lib/portmaster/intel/index.dsd": "intel/index.dsd",
|
|
"/var/lib/portmaster/intel/intermediate.dsdl": "intel/intermediate.dsdl",
|
|
"/var/lib/portmaster/intel/urgent.dsdl": "intel/urgent.dsdl",
|
|
|
|
"/var/lib/portmaster/intel/main-intel.yaml" : "intel/main-intel.yaml",
|
|
"/var/lib/portmaster/intel/notifications.yaml": "intel/notifications.yaml",
|
|
"/var/lib/portmaster/intel/news.yaml" : "intel/news.yaml",
|
|
|
|
// Shortcut
|
|
"/etc/xdg/autostart/portmaster.desktop": "../../../packaging/linux/portmaster-autostart.desktop"
|
|
},
|
|
"postInstallScript": "../../../packaging/linux/postinst",
|
|
"postRemoveScript": "../../../packaging/linux/postrm"
|
|
}
|
|
},
|
|
"windows": {
|
|
"nsis": {
|
|
"installMode": "perMachine",
|
|
"installerHooks": "templates/nsis/install_hooks.nsh",
|
|
"installerIcon": "../../../assets/data/icons/pm_light.ico"
|
|
},
|
|
"wix": {
|
|
"fragmentPaths": [
|
|
"templates/wix/files.wxs",
|
|
"templates/wix/old_service_check.wxs",
|
|
"templates/wix/migration.wxs",
|
|
],
|
|
"componentGroupRefs": ["BinaryAndIntelFiles"],
|
|
"template": "templates/wix/main.wxs"
|
|
}
|
|
},
|
|
"targets": [
|
|
"deb",
|
|
"rpm",
|
|
"nsis" //, "msi"
|
|
],
|
|
"icon": [
|
|
"../../../assets/data/icons/pm_dark_512.png",
|
|
"../../../assets/data/icons/pm_dark.ico",
|
|
"../../../assets/data/icons/pm_light_512.png",
|
|
"../../../assets/data/icons/pm_light.ico"
|
|
]
|
|
}
|
|
}
|