From dacd853295c15cc2acfa31738743e6d4bc195b36 Mon Sep 17 00:00:00 2001 From: Evan Pratten Date: Thu, 9 Nov 2023 16:34:00 -0500 Subject: [PATCH] Add an error --- scripts/ableton-linux | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/scripts/ableton-linux b/scripts/ableton-linux index 32780f1..a0d02a5 100755 --- a/scripts/ableton-linux +++ b/scripts/ableton-linux @@ -84,6 +84,11 @@ def main() -> int: level=logging.DEBUG if args.verbose else logging.INFO, format="%(levelname)s: %(message)s", ) + + # Ensure we have bottles + if not shutil.which("bottles-cli"): + logger.error("You can't do this without bottles installed") + return 1 # Ensure we have wineasio if not (WINEASIO_SRC_PATH / "build64").exists():