Skip to content

Commit

Permalink
run.sh: Also check for cairo
Browse files Browse the repository at this point in the history
  • Loading branch information
C0rn3j committed Sep 21, 2024
1 parent a22728b commit 42ba730
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions run.sh
Original file line number Diff line number Diff line change
Expand Up @@ -62,6 +62,10 @@ function testDeps() {
echo -e "${Red}python3-gi not found, install it. ${Yellow}The package may be named python-gi on your distribution!${NoColor}"
exit 1
fi
if ! python -c "import importlib.util; exit(0 if importlib.util.find_spec('cairo') is not None else 1)"; then
echo -e "${Red}python3-gi-cairo not found, install it. ${Yellow}The package may be named python3-gobject or python-gobject on your distribution!${NoColor}"
exit 1
fi
# https://stackoverflow.com/a/48006925/8962143
#import gi
#gi.require_version("Gtk", "3.0")
Expand Down

0 comments on commit 42ba730

Please sign in to comment.