소스 검색

pyinstaller: remove icon

Remove pyinstaller's default executable icon by setting it to the string 'NONE'.

While we're at it, update a comment.
Rayyan Ansari 2 년 전
부모
커밋
37e958bfa4
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