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.

feat(tauri): allow the main window to be destroyed

Akarshan Biswas065994c0f589
diff --git a/src-tauri/capabilities/default.json b/src-tauri/capabilities/default.json
index 606522061..272d22c04 100644
--- a/src-tauri/capabilities/default.json
+++ b/src-tauri/capabilities/default.json
@@ -12,6 +12,7 @@
"core:window:allow-minimize",
"core:window:allow-toggle-maximize",
"core:window:allow-close",
+ "core:window:allow-destroy",
"shell:allow-spawn",
"shell:allow-open",
"core:app:allow-set-app-theme",