WasatchPhotonics / ENLIGHTEN

Open-source spectroscopy application for controlling and taking measurements from Wasatch Photonics spectrometers.
https://wasatchphotonics.com/product-category/software/
MIT License
3 stars 6 forks source link

pyinstaller --hide-console hide-early doesn't work on Win11? #309

Open mzieg opened 10 months ago

mzieg commented 10 months ago

I didn't see any references to this online, but the new pyinstaller --hide-console flag, or at least the value we selected "hide-early", doesn't seem to work on Windows 11 in my testing. (Works fine on Win10...)

mzieg commented 10 months ago

Trying to resolve in #312

mzieg commented 3 months ago

Bumping this in priority as it's a common source of complaint. Ironically, it doesn't even happen on my computer — it's very "host-specific," yet also frustratingly widespread (and annoying to users).

Note that this is a bug with the compiled Windows .exe — it cannot be solved by "running from source," so the test-loop is annoyingly time-intensive. Also, we'd need to test a variety of hosts (Win10 and Win11) to confirm it's actually solved.

May relate to Home vs Professional? Admin rights? Whether installed "for all" or "for one user"? Admin privs during installation? Other installed SW? No idea.