diff --git a/eduvpn/utils.py b/eduvpn/utils.py index db0bf0c..76fc52a 100644 --- a/eduvpn/utils.py +++ b/eduvpn/utils.py @@ -69,7 +69,7 @@ def get_prefix() -> str: """ target = "share/eduvpn/builder/mainwindow.ui" local = path.dirname(path.dirname(path.abspath(__file__))) - options = [local, path.expanduser("~/.local"), "/usr/local", prefix] + options = ["@out@"] for option in options: logger.debug(f"looking for '{target}' in '{option}'") if path.isfile(path.join(option, target)):