From 55df74908357ebcfaa7bb2289a5142cfd810a749 Mon Sep 17 00:00:00 2001 From: Bastien Nocera Date: Tue, 2 Jan 2024 21:05:59 +0100 Subject: [PATCH] unix: Fix "Open in BambuStudio" button on MakerWorld MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Make the "Open in BambuStudio" button on MakerWorld works by informing the system that BambuStudio is the application to handle URLs with the bambustudio scheme, and that it can handle URLs, not just local files. This fixes this error message visible in Firefox' console when clicking the button on the website: Prevented navigation to “bambustudio://open?file=https%3A%2F%2Fmakerworld.bblmw.com[...]bambu_scraper_grip_ams.3mf” due to an unknown protocol. github pull request: https://github.com/bambulab/BambuStudio/pull/3314 Change-Id: I3838554ef813767e043c56e406dfb2a862e128c3 --- src/platform/unix/BambuStudio.desktop | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/platform/unix/BambuStudio.desktop b/src/platform/unix/BambuStudio.desktop index 8493077bf..b7e9b4d6b 100644 --- a/src/platform/unix/BambuStudio.desktop +++ b/src/platform/unix/BambuStudio.desktop @@ -2,10 +2,10 @@ Name=BambuStudio GenericName=3D Printing Software Icon=BambuStudio -Exec=bambu-studio %F +Exec=bambu-studio %U Terminal=false Type=Application -MimeType=model/stl;model/3mf;application/vnd.ms-3mfdocument;application/prs.wavefront-obj;application/x-amf; +MimeType=model/stl;model/3mf;application/vnd.ms-3mfdocument;application/prs.wavefront-obj;application/x-amf;x-scheme-handler/bambustudio; Categories=Graphics;3DGraphics;Engineering; Keywords=3D;Printing;Slicer;slice;3D;printer;convert;gcode;stl;obj;amf;SLA StartupNotify=false