diff --git a/src/utils/heroic_parser.py b/src/utils/heroic_parser.py index 84c2a7f..6671e55 100644 --- a/src/utils/heroic_parser.py +++ b/src/utils/heroic_parser.py @@ -50,7 +50,9 @@ def heroic_parser(parent_widget): "heroic", ), ) - elif os.path.exists(os.path.join(os.getenv("appdata"), "heroic")): + elif os.name == "nt" and os.path.exists( + os.path.join(os.getenv("appdata"), "heroic") + ): schema.set_string( "heroic-location", os.path.join(os.getenv("appdata"), "heroic") )