From 6a10c7c6600267d5e8b3b9a9d2e691288ae8379a Mon Sep 17 00:00:00 2001 From: Kasra Date: Wed, 3 Apr 2024 01:11:33 +0330 Subject: [PATCH 1/2] DSView is now the default app for .dsl files and added to 'Open With' list --- DSView/DSView.desktop | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/DSView/DSView.desktop b/DSView/DSView.desktop index e11432406..c0121ae61 100644 --- a/DSView/DSView.desktop +++ b/DSView/DSView.desktop @@ -4,7 +4,8 @@ Encoding=UTF-8 Name=DSView Comment=GUI Program for DreamSourceLab USB-based Instruments TryExec=DSView -Exec=DSView +Exec=DSView %F Icon=dsview Terminal=false Categories=Development;Electronics;Qt; +MimeType=applications/dsl From c27f1ecf641e8daa49b84a38a648f7bb9a55929e Mon Sep 17 00:00:00 2001 From: Kasra Date: Sun, 9 Jun 2024 12:56:45 +0330 Subject: [PATCH 2/2] Replaced %F with %U to support URLs and files --- DSView/DSView.desktop | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/DSView/DSView.desktop b/DSView/DSView.desktop index c0121ae61..280ca45c0 100644 --- a/DSView/DSView.desktop +++ b/DSView/DSView.desktop @@ -4,7 +4,7 @@ Encoding=UTF-8 Name=DSView Comment=GUI Program for DreamSourceLab USB-based Instruments TryExec=DSView -Exec=DSView %F +Exec=DSView %U Icon=dsview Terminal=false Categories=Development;Electronics;Qt;