diff options
| author | Andrew Dolgov <fox@fakecake.org> | 2026-07-03 14:35:33 +0300 |
|---|---|---|
| committer | Andrew Dolgov <fox@fakecake.org> | 2026-07-03 14:35:33 +0300 |
| commit | f659b7f0819ae9bdc9fc626e321aca33ffbd9173 (patch) | |
| tree | c0b550e27b4a89b1c50bdd30add037f6b4234a9a | |
| parent | 7f749362a5a4ad31ae8e4e4aed49d30e2263aeef (diff) | |
| download | fungus-launcher-f659b7f0819ae9bdc9fc626e321aca33ffbd9173.tar.gz fungus-launcher-f659b7f0819ae9bdc9fc626e321aca33ffbd9173.tar.xz | |
pass --verbose to run if needed
| -rw-r--r-- | fungus/main_window.py | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/fungus/main_window.py b/fungus/main_window.py index 2045bb7..179e94e 100644 --- a/fungus/main_window.py +++ b/fungus/main_window.py @@ -1,6 +1,7 @@ #!/usr/bin/python3 """Main window — game list, sidebar, search, play/kill/edit/delete, context menus.""" +import logging import os import shutil import subprocess @@ -793,6 +794,8 @@ class Main(Gtk.ApplicationWindow): cwd = game_directory if game_directory and os.path.isdir(game_directory) else None cmd = [sys.executable, fungus_run, "--game", game.gameid] + if logging.root.level <= logging.DEBUG: + cmd.insert(2, "--verbose") if igpu: cmd.append("--igpu") |
