Add an error
This commit is contained in:
parent
0a6d46c76a
commit
dacd853295
@ -84,6 +84,11 @@ def main() -> int:
|
|||||||
level=logging.DEBUG if args.verbose else logging.INFO,
|
level=logging.DEBUG if args.verbose else logging.INFO,
|
||||||
format="%(levelname)s: %(message)s",
|
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
|
# Ensure we have wineasio
|
||||||
if not (WINEASIO_SRC_PATH / "build64").exists():
|
if not (WINEASIO_SRC_PATH / "build64").exists():
|
||||||
|
Loading…
x
Reference in New Issue
Block a user