Browse Source

Allow windows builds to use -b argument

notcammy 5 năm trước cách đây
mục cha
commit
98c14b53fb
1 tập tin đã thay đổi với 1 bổ sung1 xóa
  1. 1 1
      pyinstalive/startup.py

+ 1 - 1
pyinstalive/startup.py

@@ -322,7 +322,7 @@ def run():
             if pil.dl_user or pil.args.downloadfollowing:
                 downloader.start()
             elif pil.dl_batchusers:
-                if not helpers.command_exists("pyinstalive"):
+                if not helpers.command_exists("pyinstalive") and not pil.winbuild_path:
                     logger.error("PyInstaLive must be properly installed when using the -b argument.")
                     logger.separator()
                 else: