From 37e958bfa4661a470d2450f4a117776a2c444a6d Mon Sep 17 00:00:00 2001 From: Rayyan Ansari Date: Wed, 8 Feb 2023 17:45:02 +0000 Subject: [PATCH] pyinstaller: remove icon Remove pyinstaller's default executable icon by setting it to the string 'NONE'. While we're at it, update a comment. --- scripts/borg.exe.spec | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/scripts/borg.exe.spec b/scripts/borg.exe.spec index e83197b2..473eb386 100644 --- a/scripts/borg.exe.spec +++ b/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