Skip to content

Commit 62006bb

Browse files
hadesslanewei120
authored andcommitted
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.
1 parent aee2df6 commit 62006bb

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/platform/unix/BambuStudio.desktop

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2,10 +2,10 @@
22
Name=BambuStudio
33
GenericName=3D Printing Software
44
Icon=BambuStudio
5-
Exec=bambu-studio %F
5+
Exec=bambu-studio %U
66
Terminal=false
77
Type=Application
8-
MimeType=model/stl;model/3mf;application/vnd.ms-3mfdocument;application/prs.wavefront-obj;application/x-amf;
8+
MimeType=model/stl;model/3mf;application/vnd.ms-3mfdocument;application/prs.wavefront-obj;application/x-amf;x-scheme-handler/bambustudio;
99
Categories=Graphics;3DGraphics;Engineering;
1010
Keywords=3D;Printing;Slicer;slice;3D;printer;convert;gcode;stl;obj;amf;SLA
1111
StartupNotify=false

0 commit comments

Comments
 (0)