mirror of
https://github.com/aclist/dztui.git
synced 2026-10-28 21:52:46 +01:00
feat: abort gracefully if libgirepository is missing
This commit is contained in:
1 parent
e692e1d139
commit
5780d3daff
3 files changed
+110
-104
No files matched your search
+1
-1
@@ -44,7 +44,7 @@ def has_libgi() -> bool:
|
||||
return exists
|
||||
|
||||
|
||||
def test_missing_lib() -> bool:
|
||||
def test_libgi_missing() -> None:
|
||||
msg = f"System is missing the required library '{LIB}'. Install it via your system package manager."
|
||||
if has_libgi() is False:
|
||||
print(msg)
|
||||
|
||||
Reference in new issue
Block a user