From 0a68c861f0eff5756473d35995d43b17f0ad1c6e Mon Sep 17 00:00:00 2001 From: Bastien Nocera Date: Tue, 11 Feb 2025 12:28:03 +0100 Subject: [PATCH] Fix "Open in Cura" button on Thingiverse MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Make the "Open in Cura" button on Thingiverse work by informing the system that Cura is the application to handle URLs with the cura 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 “cura://open?file=https%3A%2F%2Fwww.thingiverse.com%2Fdownload%3A14134689” due to an unknown protocol. See https://github.com/bambulab/BambuStudio/commit/62006bba30f39 --- packaging/AppImage/cura.desktop.jinja | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/packaging/AppImage/cura.desktop.jinja b/packaging/AppImage/cura.desktop.jinja index 8b645c826e..dc6cddcc03 100644 --- a/packaging/AppImage/cura.desktop.jinja +++ b/packaging/AppImage/cura.desktop.jinja @@ -5,11 +5,11 @@ GenericName=3D Printing Software GenericName[de]=3D-Druck-Software GenericName[nl]=3D-Print Software Comment=Cura converts 3D models into paths for a 3D printer. It prepares your print for maximum accuracy, minimum printing time and good reliability with many extra features that make your print come out great. -Exec=UltiMaker-Cura %F +Exec=UltiMaker-Cura %U Icon=cura-icon Terminal=false Type=Application -MimeType=model/stl;application/vnd.ms-3mfdocument;model/3mf;application/prs.wavefront-obj;image/bmp;image/gif;image/jpeg;image/png;text/x-gcode;application/x-amf;application/x-ply;application/x-ctm;model/vnd.collada+xml;model/gltf-binary;model/gltf+json;model/vnd.collada+xml+zip; +MimeType=model/stl;application/vnd.ms-3mfdocument;model/3mf;application/prs.wavefront-obj;image/bmp;image/gif;image/jpeg;image/png;text/x-gcode;application/x-amf;application/x-ply;application/x-ctm;model/vnd.collada+xml;model/gltf-binary;model/gltf+json;model/vnd.collada+xml+zip;x-scheme-handler/cura; Categories=Graphics; Keywords=3D;Printing; X-AppImage-Version={{ cura_version }}