(venv) PS C:\Project\zapStrilb> pyinstaller --onefile --icon=ico.ico --noconsole main.py
2800 INFO: PyInstaller: 5.13.0
2800 INFO: Python: 3.11.4
2880 INFO: Platform: Windows-10-10.0.22621-SP0
2900 INFO: wrote C:\Project\zapStrilb\main.spec
script 'C:\Project\zapStrilb\main.py' not found