Commit Graph

11 Commits

Author SHA1 Message Date
Bastien Nocera 62006bba30 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.
2024-01-15 21:33:23 +08:00
Bastien Nocera dc38cf7d53 unix: Use canonical mime-type for 3MF files
model/3mf is the canonical mime-type, but keep the
application/vnd.ms-3mfdocument alias.

See for details:
https://gitlab.freedesktop.org/xdg/shared-mime-info/-/merge_requests/179
2023-12-08 09:17:33 +08:00
fang64 472da36b7e Add support for AppImage build in containers. 2023-02-01 21:12:20 +08:00
lane.wei b2caf90498 Revert "ENH: add the linux build action to github"
This reverts commit c0791f0fdd.

wrongly pushed to master
2023-01-31 21:27:35 +08:00
lane.wei c0791f0fdd ENH: add the linux build action to github 2023-01-31 21:13:42 +08:00
Zhaofeng Li ca00918f85 BuildLinuxImage.sh: Remove data dir creation
Fixed in c25c1ba4eb.
2022-12-19 02:28:54 -05:00
Zhaofeng Li f8a92b2b3f BuildLinuxImage.sh: Remove forced light theme 2022-12-19 02:28:54 -05:00
deftdawg 91db1be09e Add sigxcpu76's fix to force use of light GTK theme
When using Bambu Studio with a dark themed Linux desktop, many of the dialogs appear as white text on a white background (font's correctly invert, but dialogs remain white).

@sigxcpu76 provided a workaround for this in #12 which is to tell the app to use a light GTK theme.  This change incorporates that workaround into the AppImage making the app more usable until such time as proper dark theme support can be added to Bambu Studio.
2022-12-09 09:42:41 +08:00
DeftDawg cb2e89d93e - Update AppImage AppRun:
- Force LC_ALL=C locale; BBS segfaults without this on Holo-ISO
  - Try to create config dir each time; BBS will segfault with a boost logging error, if this doesn't exist
2022-10-09 10:38:37 +08:00
DeftDawg f5a4862da5 Add Linux related build scripts
including following changes:
- Linux build scripts from SuperSlicer project;
- Update BuildLinux dev dependencies, remove unused bits;
- Update BuildLinuxImage to use nproc for cpus;
- CMake: render BuildLinuxImage and build_appimage templates;
- Fix "DSO missing" linking problems;
- Add Podman Containerfile for building;
- Update BuildLinux.sh to work better in container build;
- fixes to create AppImage inside container;
- add env to build environment;
- Update build instructions in Containerfile;

Change-Id: I73e30ab488cda8c1b0886cd34858e125596f282b
(cherry picked from commit 83fc26670ca592c91c7af1d4033a04b587cfd4cd)
2022-09-15 16:03:53 +08:00
lane.wei 1555904bef Add the full source of BambuStudio
using version 1.0.10
2022-07-15 23:42:08 +08:00