Add icon for binary executable (#739)

This commit is contained in:
ilike2burnthing
2023-03-25 20:35:37 +00:00
committed by GitHub
parent 7017715e21
commit 82a1cd835a
2 changed files with 1 additions and 0 deletions

Binary file not shown.

After

Width:  |  Height:  |  Size: 8.8 KiB

View File

@@ -57,6 +57,7 @@ def run_pyinstaller():
sep = ';' if os.name == 'nt' else ':' sep = ';' if os.name == 'nt' else ':'
subprocess.check_call([sys.executable, "-m", "PyInstaller", subprocess.check_call([sys.executable, "-m", "PyInstaller",
"--onefile", "--onefile",
"--icon", "resources/flaresolverr_logo.ico",
"--add-data", f"package.json{sep}.", "--add-data", f"package.json{sep}.",
"--add-data", f"{os.path.join('dist_chrome', 'chrome')}{sep}chrome", "--add-data", f"{os.path.join('dist_chrome', 'chrome')}{sep}chrome",
os.path.join("src", "flaresolverr.py")], os.path.join("src", "flaresolverr.py")],