From 29811ca5de87865309988013927e4fe04bddaede Mon Sep 17 00:00:00 2001 From: Craig Raw Date: Mon, 10 May 2021 14:22:24 +0200 Subject: [PATCH] handle uri and psbt opening on linux --- src/main/deploy/package/linux/Sparrow.desktop | 9 +++++++++ src/main/deploy/psbt.properties | 2 +- 2 files changed, 10 insertions(+), 1 deletion(-) create mode 100644 src/main/deploy/package/linux/Sparrow.desktop diff --git a/src/main/deploy/package/linux/Sparrow.desktop b/src/main/deploy/package/linux/Sparrow.desktop new file mode 100644 index 00000000..f7eaa426 --- /dev/null +++ b/src/main/deploy/package/linux/Sparrow.desktop @@ -0,0 +1,9 @@ +[Desktop Entry] +Name=Sparrow +Comment=Sparrow +Exec=/opt/sparrow/bin/Sparrow %U +Icon=/opt/sparrow/lib/Sparrow.png +Terminal=false +Type=Application +Categories=Unknown +MimeType=application/psbt;x-scheme-handler/bitcoin;x-scheme-handler/aopp \ No newline at end of file diff --git a/src/main/deploy/psbt.properties b/src/main/deploy/psbt.properties index c985fcde..860c11f2 100644 --- a/src/main/deploy/psbt.properties +++ b/src/main/deploy/psbt.properties @@ -1,3 +1,3 @@ -mime-type=application/octet-stream +mime-type=application/psbt extension=psbt description=Partially Signed Bitcoin Transaction \ No newline at end of file