unix: Fix "Open in BambuStudio" button on MakerWorld

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
This commit is contained in:
Bastien Nocera 2024-01-02 21:05:59 +01:00 committed by lane.wei
parent aa28369058
commit 55df749083

View File

@ -2,10 +2,10 @@
Name=BambuStudio Name=BambuStudio
GenericName=3D Printing Software GenericName=3D Printing Software
Icon=BambuStudio Icon=BambuStudio
Exec=bambu-studio %F Exec=bambu-studio %U
Terminal=false Terminal=false
Type=Application 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; Categories=Graphics;3DGraphics;Engineering;
Keywords=3D;Printing;Slicer;slice;3D;printer;convert;gcode;stl;obj;amf;SLA Keywords=3D;Printing;Slicer;slice;3D;printer;convert;gcode;stl;obj;amf;SLA
StartupNotify=false StartupNotify=false