How to add an icon to a exe made with cx_freeze ?
I was looking for solution on google & stackoverflow. But I couldn't find any solution.
This is my setup.py
import sys
from cx_Freeze import setup, Executable
# Dependencies are automatically detected, but it might need fine tuning.
build_exe_options = {"includes": ["tkinter"]}
# GUI applications require a different base on Windows (the default is for
# a console application).
base = None
if sys.platform == "win32":
base = "Win32GUI"
setup( name = "YouTube-Video-Downloader",
version = "0.1",
description = "",
options = {"build_exe": build_exe_options},
executables = [Executable("app.py", base=base)])
question from:
https://stackoverflow.com/questions/65847260/add-icon-to-a-cx-freeze-script 与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…