浏览代码

Merge pull request #7327 from RayyanAnsari/pyinstaller-no-icon

pyinstaller: remove icon
TW 2 年之前
父节点
当前提交
070c260460
共有 1 个文件被更改,包括 3 次插入2 次删除
  1. 3 2
      scripts/borg.exe.spec

+ 3 - 2
scripts/borg.exe.spec

@@ -1,5 +1,5 @@
 # -*- mode: python -*-
-# this pyinstaller spec file is used to build borg binaries on posix platforms
+# this pyinstaller spec file is used to build borg binaries on posix platforms and Windows
 
 import os, sys
 
@@ -48,7 +48,8 @@ exe = EXE(pyz,
           debug=False,
           strip=False,
           upx=True,
-          console=True)
+          console=True,
+          icon='NONE')
 
 # Build a directory-based binary in addition to a packed
 # single file. This allows one to look at all included