[desktop] Tauri update v2.2.5

This commit is contained in:
Vladimir Stoilov 2025-02-24 10:44:13 +02:00
parent f26e61ed15
commit 9ff7ec96d1
No known key found for this signature in database
8 changed files with 9996 additions and 22601 deletions

File diff suppressed because it is too large Load diff

View file

@ -4,7 +4,7 @@
"scripts": { "scripts": {
"ng": "ng", "ng": "ng",
"start": "npm install && npm run build-libs:dev && ng serve --proxy-config ./proxy.json", "start": "npm install && npm run build-libs:dev && ng serve --proxy-config ./proxy.json",
"build-libs": "NODE_ENV=production ng build --configuration production @safing/ui && NODE_ENV=production ng build --configuration production @safing/portmaster-api", "build-libs": "cross-env NODE_ENV=production ng build --configuration production @safing/ui && cross-env NODE_ENV=production ng build --configuration production @safing/portmaster-api",
"build-libs:dev": "ng build --configuration development @safing/ui && ng build --configuration development @safing/portmaster-api", "build-libs:dev": "ng build --configuration development @safing/ui && ng build --configuration development @safing/portmaster-api",
"serve": "npm run build-libs:dev && ng serve --proxy-config ./proxy.json", "serve": "npm run build-libs:dev && ng serve --proxy-config ./proxy.json",
"build:dev": "npm run build-libs:dev && ng build", "build:dev": "npm run build-libs:dev && ng build",
@ -12,10 +12,10 @@
"lint": "ng lint", "lint": "ng lint",
"e2e": "ng e2e", "e2e": "ng e2e",
"zip-dist": "node pack.js", "zip-dist": "node pack.js",
"chrome-extension": "NODE_ENV=production ng build --configuration production portmaster-chrome-extension", "chrome-extension": "cross-env NODE_ENV=production ng build --configuration production portmaster-chrome-extension",
"chrome-extension:dev": "ng build --configuration development portmaster-chrome-extension --watch", "chrome-extension:dev": "ng build --configuration development portmaster-chrome-extension --watch",
"build": "npm run build-libs && NODE_ENV=production ng build --configuration production --base-href /ui/modules/portmaster/", "build": "npm run build-libs && NODE_ENV=production ng build --configuration production --base-href /ui/modules/portmaster/",
"build-tauri": "npm run build-libs && NODE_ENV=production ng build --configuration production tauri-builtin", "build-tauri": "npm run build-libs && cross-env NODE_ENV=production ng build --configuration production tauri-builtin",
"serve-tauri-builtin": "ng serve tauri-builtin --port 4100", "serve-tauri-builtin": "ng serve tauri-builtin --port 4100",
"serve-app": "ng serve --port 4200 --proxy-config ./proxy.json", "serve-app": "ng serve --port 4200 --proxy-config ./proxy.json",
"tauri-dev": "npm install && run-s build-libs:dev && run-p serve-app serve-tauri-builtin" "tauri-dev": "npm install && run-s build-libs:dev && run-p serve-app serve-tauri-builtin"
@ -84,6 +84,7 @@
"@types/whatwg-encoding": "^2.0.3", "@types/whatwg-encoding": "^2.0.3",
"@typescript-eslint/eslint-plugin": "^5.59.6", "@typescript-eslint/eslint-plugin": "^5.59.6",
"@typescript-eslint/parser": "^5.59.6", "@typescript-eslint/parser": "^5.59.6",
"cross-env": "^7.0.3",
"eslint": "^8.40.0", "eslint": "^8.40.0",
"jasmine-core": "^5.0.0", "jasmine-core": "^5.0.0",
"jasmine-spec-reporter": "^7.0.0", "jasmine-spec-reporter": "^7.0.0",

View file

@ -750,7 +750,7 @@ export class PortapiService {
// for data-manipulating methods success // for data-manipulating methods success
// ends the stream. // ends the stream.
if (data.type === 'success') { if (data.type === 'success') {
observer.next(); observer.next(null as any);
observer.complete(); observer.complete();
return; return;
} }

File diff suppressed because it is too large Load diff

View file

@ -12,21 +12,20 @@ rust-version = "1.64"
# See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html # See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html
[build-dependencies] [build-dependencies]
tauri-build = { version = "2.0.3", features = [] } tauri-build = { version = "2.0.5", features = [] }
[dependencies] [dependencies]
# Tauri # Tauri
tauri = { version = "2.1.1", features = ["tray-icon", "image-png", "config-json5", "devtools"] } tauri = { version = "2.2.5", features = ["tray-icon", "image-png", "config-json5", "devtools"] }
tauri-plugin-shell = "2.0.2" tauri-plugin-shell = "2.2.0"
tauri-plugin-dialog = "2.0.3" tauri-plugin-dialog = "2.2.0"
tauri-plugin-clipboard-manager = "2.0.2" tauri-plugin-clipboard-manager = "2.1.11"
tauri-plugin-os = "2.0.1" tauri-plugin-os = "2.2.0"
tauri-plugin-single-instance = "2.0.1" tauri-plugin-single-instance = "2.2.1"
tauri-plugin-notification = "2.0.1" tauri-plugin-notification = "2.2.1"
tauri-plugin-log = "2.0.2" tauri-plugin-log = "2.2.1"
tauri-plugin-window-state = "2.0.2" tauri-plugin-window-state = "2.2.1"
tauri-cli = "2.1.0"
clap_lex = "0.7.2" clap_lex = "0.7.2"
# General # General

File diff suppressed because one or more lines are too long

View file

@ -1100,6 +1100,11 @@
"type": "string", "type": "string",
"const": "core:webview:allow-reparent" "const": "core:webview:allow-reparent"
}, },
{
"description": "Enables the set_webview_background_color command without any pre-configured scope.",
"type": "string",
"const": "core:webview:allow-set-webview-background-color"
},
{ {
"description": "Enables the set_webview_focus command without any pre-configured scope.", "description": "Enables the set_webview_focus command without any pre-configured scope.",
"type": "string", "type": "string",
@ -1180,6 +1185,11 @@
"type": "string", "type": "string",
"const": "core:webview:deny-reparent" "const": "core:webview:deny-reparent"
}, },
{
"description": "Denies the set_webview_background_color command without any pre-configured scope.",
"type": "string",
"const": "core:webview:deny-set-webview-background-color"
},
{ {
"description": "Denies the set_webview_focus command without any pre-configured scope.", "description": "Denies the set_webview_focus command without any pre-configured scope.",
"type": "string", "type": "string",
@ -1395,6 +1405,21 @@
"type": "string", "type": "string",
"const": "core:window:allow-set-always-on-top" "const": "core:window:allow-set-always-on-top"
}, },
{
"description": "Enables the set_background_color command without any pre-configured scope.",
"type": "string",
"const": "core:window:allow-set-background-color"
},
{
"description": "Enables the set_badge_count command without any pre-configured scope.",
"type": "string",
"const": "core:window:allow-set-badge-count"
},
{
"description": "Enables the set_badge_label command without any pre-configured scope.",
"type": "string",
"const": "core:window:allow-set-badge-label"
},
{ {
"description": "Enables the set_closable command without any pre-configured scope.", "description": "Enables the set_closable command without any pre-configured scope.",
"type": "string", "type": "string",
@ -1480,6 +1505,11 @@
"type": "string", "type": "string",
"const": "core:window:allow-set-minimizable" "const": "core:window:allow-set-minimizable"
}, },
{
"description": "Enables the set_overlay_icon command without any pre-configured scope.",
"type": "string",
"const": "core:window:allow-set-overlay-icon"
},
{ {
"description": "Enables the set_position command without any pre-configured scope.", "description": "Enables the set_position command without any pre-configured scope.",
"type": "string", "type": "string",
@ -1740,6 +1770,21 @@
"type": "string", "type": "string",
"const": "core:window:deny-set-always-on-top" "const": "core:window:deny-set-always-on-top"
}, },
{
"description": "Denies the set_background_color command without any pre-configured scope.",
"type": "string",
"const": "core:window:deny-set-background-color"
},
{
"description": "Denies the set_badge_count command without any pre-configured scope.",
"type": "string",
"const": "core:window:deny-set-badge-count"
},
{
"description": "Denies the set_badge_label command without any pre-configured scope.",
"type": "string",
"const": "core:window:deny-set-badge-label"
},
{ {
"description": "Denies the set_closable command without any pre-configured scope.", "description": "Denies the set_closable command without any pre-configured scope.",
"type": "string", "type": "string",
@ -1825,6 +1870,11 @@
"type": "string", "type": "string",
"const": "core:window:deny-set-minimizable" "const": "core:window:deny-set-minimizable"
}, },
{
"description": "Denies the set_overlay_icon command without any pre-configured scope.",
"type": "string",
"const": "core:window:deny-set-overlay-icon"
},
{ {
"description": "Denies the set_position command without any pre-configured scope.", "description": "Denies the set_position command without any pre-configured scope.",
"type": "string", "type": "string",

View file

@ -1100,6 +1100,11 @@
"type": "string", "type": "string",
"const": "core:webview:allow-reparent" "const": "core:webview:allow-reparent"
}, },
{
"description": "Enables the set_webview_background_color command without any pre-configured scope.",
"type": "string",
"const": "core:webview:allow-set-webview-background-color"
},
{ {
"description": "Enables the set_webview_focus command without any pre-configured scope.", "description": "Enables the set_webview_focus command without any pre-configured scope.",
"type": "string", "type": "string",
@ -1180,6 +1185,11 @@
"type": "string", "type": "string",
"const": "core:webview:deny-reparent" "const": "core:webview:deny-reparent"
}, },
{
"description": "Denies the set_webview_background_color command without any pre-configured scope.",
"type": "string",
"const": "core:webview:deny-set-webview-background-color"
},
{ {
"description": "Denies the set_webview_focus command without any pre-configured scope.", "description": "Denies the set_webview_focus command without any pre-configured scope.",
"type": "string", "type": "string",
@ -1395,6 +1405,21 @@
"type": "string", "type": "string",
"const": "core:window:allow-set-always-on-top" "const": "core:window:allow-set-always-on-top"
}, },
{
"description": "Enables the set_background_color command without any pre-configured scope.",
"type": "string",
"const": "core:window:allow-set-background-color"
},
{
"description": "Enables the set_badge_count command without any pre-configured scope.",
"type": "string",
"const": "core:window:allow-set-badge-count"
},
{
"description": "Enables the set_badge_label command without any pre-configured scope.",
"type": "string",
"const": "core:window:allow-set-badge-label"
},
{ {
"description": "Enables the set_closable command without any pre-configured scope.", "description": "Enables the set_closable command without any pre-configured scope.",
"type": "string", "type": "string",
@ -1480,6 +1505,11 @@
"type": "string", "type": "string",
"const": "core:window:allow-set-minimizable" "const": "core:window:allow-set-minimizable"
}, },
{
"description": "Enables the set_overlay_icon command without any pre-configured scope.",
"type": "string",
"const": "core:window:allow-set-overlay-icon"
},
{ {
"description": "Enables the set_position command without any pre-configured scope.", "description": "Enables the set_position command without any pre-configured scope.",
"type": "string", "type": "string",
@ -1740,6 +1770,21 @@
"type": "string", "type": "string",
"const": "core:window:deny-set-always-on-top" "const": "core:window:deny-set-always-on-top"
}, },
{
"description": "Denies the set_background_color command without any pre-configured scope.",
"type": "string",
"const": "core:window:deny-set-background-color"
},
{
"description": "Denies the set_badge_count command without any pre-configured scope.",
"type": "string",
"const": "core:window:deny-set-badge-count"
},
{
"description": "Denies the set_badge_label command without any pre-configured scope.",
"type": "string",
"const": "core:window:deny-set-badge-label"
},
{ {
"description": "Denies the set_closable command without any pre-configured scope.", "description": "Denies the set_closable command without any pre-configured scope.",
"type": "string", "type": "string",
@ -1825,6 +1870,11 @@
"type": "string", "type": "string",
"const": "core:window:deny-set-minimizable" "const": "core:window:deny-set-minimizable"
}, },
{
"description": "Denies the set_overlay_icon command without any pre-configured scope.",
"type": "string",
"const": "core:window:deny-set-overlay-icon"
},
{ {
"description": "Denies the set_position command without any pre-configured scope.", "description": "Denies the set_position command without any pre-configured scope.",
"type": "string", "type": "string",