瀏覽代碼

Allow windows builds to use -b argument

notcammy 5 年之前
父節點
當前提交
98c14b53fb
共有 1 個文件被更改,包括 1 次插入1 次删除
  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: