mirror of
https://github.com/FlareSolverr/FlareSolverr.git
synced 2025-12-05 17:18:19 +01:00
Add icon for binary executable (#739)
This commit is contained in:
BIN
resources/flaresolverr_logo.ico
Normal file
BIN
resources/flaresolverr_logo.ico
Normal file
Binary file not shown.
|
After Width: | Height: | Size: 8.8 KiB |
@@ -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")],
|
||||||
|
|||||||
Reference in New Issue
Block a user