Migrate tauri from portmaster-ui to desktop/tauri. Update build system
This commit is contained in:
106
desktop/tauri/src-tauri/tauri.conf.json
Normal file
106
desktop/tauri/src-tauri/tauri.conf.json
Normal file
@@ -0,0 +1,106 @@
|
||||
{
|
||||
"build": {
|
||||
"beforeDevCommand": {
|
||||
"script": "npm run tauri-dev",
|
||||
"cwd": "../../angular",
|
||||
"wait": false
|
||||
},
|
||||
"devPath": "http://localhost:4100",
|
||||
"distDir": "../../angular/dist/tauri-builtin",
|
||||
"withGlobalTauri": true
|
||||
},
|
||||
"package": {
|
||||
"productName": "Portmaster",
|
||||
"version": "0.1.0"
|
||||
},
|
||||
"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": "with-notifications",
|
||||
"description": "Enable experimental notifications via Tauri. Replaces the notifier app."
|
||||
},
|
||||
{
|
||||
"name": "with-prompts",
|
||||
"description": "Enable experimental prompt support via Tauri. Replaces the notifier app."
|
||||
}
|
||||
]
|
||||
}
|
||||
},
|
||||
"tauri": {
|
||||
"bundle": {
|
||||
"active": true,
|
||||
"category": "Utility",
|
||||
"copyright": "",
|
||||
"deb": {
|
||||
"depends": []
|
||||
},
|
||||
"externalBin": [
|
||||
"binaries/portmaster-start",
|
||||
"binaries/portmaster-core"
|
||||
],
|
||||
"icon": [
|
||||
"../assets/icons/pm_dark_512.png",
|
||||
"../assets/icons/pm_dark_512.ico",
|
||||
"../assets/icons/pm_light_512.png",
|
||||
"../assets/icons/pm_light_512.ico"
|
||||
],
|
||||
"identifier": "io.safing.portmaster",
|
||||
"longDescription": "",
|
||||
"macOS": {
|
||||
"entitlements": null,
|
||||
"exceptionDomain": "",
|
||||
"frameworks": [],
|
||||
"providerShortName": null,
|
||||
"signingIdentity": null
|
||||
},
|
||||
"resources": [],
|
||||
"shortDescription": "",
|
||||
"targets": [
|
||||
"deb",
|
||||
"appimage",
|
||||
"nsis",
|
||||
"msi",
|
||||
"app"
|
||||
],
|
||||
"windows": {
|
||||
"certificateThumbprint": null,
|
||||
"digestAlgorithm": "sha256",
|
||||
"timestampUrl": ""
|
||||
}
|
||||
},
|
||||
"security": {
|
||||
"csp": null,
|
||||
"dangerousRemoteDomainIpcAccess": [
|
||||
{
|
||||
"windows": [
|
||||
"main",
|
||||
"prompt"
|
||||
],
|
||||
"plugins": [
|
||||
"shell",
|
||||
"os",
|
||||
"clipboard-manager",
|
||||
"event",
|
||||
"window",
|
||||
"cli",
|
||||
"portmaster"
|
||||
],
|
||||
"domain": "localhost"
|
||||
}
|
||||
]
|
||||
},
|
||||
"windows": []
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user