Skip to content

armgit / jan

Public Imported from GitHub
0

Jan is an open source alternative to ChatGPT that runs 100% offline on your computer.

chore: update permission windows

Faisal Amirf0c4784b7b6f
diff --git a/src-tauri/capabilities/log-app-window.json b/src-tauri/capabilities/log-app-window.json
index 97dbf952d..33e704a9d 100644
--- a/src-tauri/capabilities/log-app-window.json
+++ b/src-tauri/capabilities/log-app-window.json
@@ -12,6 +12,7 @@
"core:event:allow-listen",
"log:default",
"core:webview:allow-create-webview-window",
+ "core:webview:allow-get-all-webviews",
"core:window:allow-set-focus"
]
}
diff --git a/src-tauri/capabilities/logs-window.json b/src-tauri/capabilities/logs-window.json
index 34b1e033a..1a166f503 100644
--- a/src-tauri/capabilities/logs-window.json
+++ b/src-tauri/capabilities/logs-window.json
@@ -12,6 +12,7 @@
"core:event:allow-listen",
"log:default",
"core:webview:allow-create-webview-window",
+ "core:webview:allow-get-all-webviews",
"core:window:allow-set-focus"
]
}
diff --git a/src-tauri/capabilities/system-monitor-window.json b/src-tauri/capabilities/system-monitor-window.json
index 75a26fd87..cec43f8d8 100644
--- a/src-tauri/capabilities/system-monitor-window.json
+++ b/src-tauri/capabilities/system-monitor-window.json
@@ -12,6 +12,7 @@
"core:event:allow-listen",
"log:default",
"core:webview:allow-create-webview-window",
+ "core:webview:allow-get-all-webviews",
"core:window:allow-set-focus",
"hardware:allow-get-system-info",
"hardware:allow-get-system-usage",