Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
16 changes: 13 additions & 3 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

23 changes: 23 additions & 0 deletions src-tauri/Cargo.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

1 change: 1 addition & 0 deletions src-tauri/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -39,6 +39,7 @@ tauri-plugin-notification = "2.2.2"
tauri-plugin-clipboard-manager = "2.2.2"
tauri-plugin-sharesheet = "0.0.1"
tauri-plugin-shell = "2.2.1"
tauri-plugin-opener = "2.5.4"
tauri-plugin-barcode-scanner = "2.2.0"
tauri-plugin-os = "2.2.1"
tauri-plugin-fs = "2.2.1"
Expand Down
2 changes: 2 additions & 0 deletions src-tauri/capabilities/main.json
Original file line number Diff line number Diff line change
Expand Up @@ -20,6 +20,8 @@
"clipboard-manager:allow-read-text",
"sharesheet:allow-share-text",
"shell:default",
"opener:default",
"opener:allow-open-url",
"barcode-scanner:default",
"os:allow-platform",
"dialog:allow-save",
Expand Down
1 change: 1 addition & 0 deletions src-tauri/src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,7 @@ mod android_barcode_scanner;
pub fn run() {
let mut builder = tauri::Builder::default()
.plugin(tauri_plugin_shell::init())
.plugin(tauri_plugin_opener::init())
.plugin(tauri_plugin_notification::init())
.plugin(tauri_plugin_clipboard_manager::init())
.plugin(tauri_plugin_os::init())
Expand Down
1 change: 1 addition & 0 deletions ui/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -30,6 +30,7 @@
"@tauri-apps/plugin-fs": "^2.2.0",
"@tauri-apps/plugin-log": "^2.8.0",
"@tauri-apps/plugin-notification": "^2.0.0",
"@tauri-apps/plugin-opener": "^2.5.4",
"@tauri-apps/plugin-os": "^2.0.0",
"@tauri-apps/plugin-shell": "^2.0.1",
"bigger-picture": "^1.1.17",
Expand Down
4 changes: 2 additions & 2 deletions ui/src/routes/conversations/[id]/Message.svelte
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@
import MessageFilePreview from "./MessageFilePreview.svelte";
import { encodeHashToBase64, type ActionHashB64, type AgentPubKeyB64 } from "@holochain/client";
import AgentNickname from "$lib/AgentNickname.svelte";
import { open } from "@tauri-apps/plugin-shell";
import { openUrl } from "@tauri-apps/plugin-opener";
import DeliveryStatusIndicator from "./DeliveryStatusIndicator.svelte";
import { computeDeliveryStatus } from "$lib/utils";

Expand All @@ -37,7 +37,7 @@

e.preventDefault();
e.stopPropagation();
open(anchor.getAttribute("href") as string);
openUrl(anchor.getAttribute("href") as string);
}
</script>

Expand Down