pyinstaller 打包去除黑框并加入icon

打包去除黑框并加入icon

pyinstaller

 pyinstaller -F --add-data "assets/*;./assets"  -i "assets/icon.ico" main.py --noconsole --clean

pyportable_installler

from pyportable_installer import full_build
full_build('pyproject.json')