|
|
@@ -329,6 +329,12 @@ def get_windows_information(): |
|
|
|
|
|
|
|
return (os, version) |
|
|
|
|
|
|
|
def get_freebsd_information(): |
|
|
|
os = "FreeBSD" |
|
|
|
version = getoutput("sysctl -n kern.osrelease") |
|
|
|
|
|
|
|
return (os, version) |
|
|
|
|
|
|
|
# --------------------------------------------------------------------- |
|
|
|
|
|
|
|
def isAlsaAudioBridged(): |
|
|
@@ -782,6 +788,8 @@ class CadenceMainW(QMainWindow, ui_cadence.Ui_CadenceMainW): |
|
|
|
info = get_mac_information() |
|
|
|
elif WINDOWS: |
|
|
|
info = get_windows_information() |
|
|
|
elif FREEBSD: |
|
|
|
info = get_freebsd_information() |
|
|
|
else: |
|
|
|
info = ("Unknown", "Unknown") |
|
|
|
|
|
|
|