mirror of
https://git.mirrors.martin98.com/https://github.com/Ultimaker/Cura
synced 2025-04-19 04:09:40 +08:00
Adding "LinuxMint"
Moving the Nvidia fix just broke another PR here on GitHub. This is the original commit:
8b750cb27c
Thanks to @Nihlus
Why we are still listing all the distributions? - Still it isn't clear whether this problem is a "Debian"-specific bug or not.
This commit is contained in:
parent
35c520a787
commit
6b2935379f
@ -13,7 +13,7 @@ from UM.Platform import Platform
|
||||
if Platform.isLinux(): # Needed for platform.linux_distribution, which is not available on Windows and OSX
|
||||
# For Ubuntu: https://bugs.launchpad.net/ubuntu/+source/python-qt4/+bug/941826
|
||||
print(platform.linux_distribution())
|
||||
if platform.linux_distribution()[0] in ("debian", "Ubuntu", ): # TODO: Needs a "if X11_GFX == 'nvidia'" here. The workaround is only needed on Ubuntu+NVidia drivers. Other drivers are not affected, but fine with this fix.
|
||||
if platform.linux_distribution()[0] in ("debian", "Ubuntu", "LinuxMint"): # TODO: Needs a "if X11_GFX == 'nvidia'" here. The workaround is only needed on Ubuntu+NVidia drivers. Other drivers are not affected, but fine with this fix.
|
||||
import ctypes
|
||||
from ctypes.util import find_library
|
||||
libGL = find_library("GL")
|
||||
|
Loading…
x
Reference in New Issue
Block a user