This commit is contained in:
2025-04-13 21:21:43 +02:00
14 changed files with 549 additions and 364 deletions

View File

@@ -27,6 +27,7 @@ notify = "6.1.1"
base64 = "0.21.7"
tokio = { version = "1.36.0", features = ["full"] }
tauri-plugin-store = "2"
tauri-plugin-http = "2"
[target."cfg(target_os = \"macos\")".dependencies]
cocoa = "0.26"

View File

@@ -11,6 +11,11 @@
"global-shortcut:allow-is-registered",
"global-shortcut:allow-register",
"global-shortcut:allow-unregister",
"global-shortcut:allow-unregister-all"
"global-shortcut:allow-unregister-all",
"http:default",
{
"identifier": "http:default",
"allow": [{ "url": "https://haystack.johncosta.tech" }]
}
]
}

View File

@@ -13,6 +13,7 @@ pub fn run() {
tauri::Builder::default()
.plugin(tauri_plugin_store::Builder::new().build())
.plugin(tauri_plugin_http::init())
.plugin(tauri_plugin_dialog::init())
.plugin(tauri_plugin_opener::init())
.manage(watcher_state)