Преглед на файлове

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