ms7m / notify-py

:speech_balloon: | A simple Python Module for sending cross-platform desktop notifications on Windows, macOS and Linux
MIT License
262 stars 26 forks source link

Powershell prompt will appear if audio is passed. #29

Closed Zac8668 closed 3 years ago

Zac8668 commented 3 years ago

When I try to make an exe of my python program with pyinstaller if the notification has audio an powershell prompt pops up. The paremeters I used were: --onefile --noconsole

padmalcom commented 3 years ago

Same here, took me a while to figure out the promt only appears when playing audio files.

padmalcom commented 3 years ago

Thanks, can you push it to pypi?

ms7m commented 3 years ago

@padmalcom planning to do so hopefully later today.. I'll be near my Windows PC later for a couple more tests for pyinstaller..

If you need access now, I can provide a wheel

padmalcom commented 3 years ago

@ms7m Thanks, I did a pip install from the latest commit of this repo but the problem still exists. The Powershell window keeps popping up when I play a custom sound.

ms7m commented 3 years ago

Did you try from the dev branch? I just tried a sample Pyinstaller app and I no longer see the issue?

Let me build a wheel and you can see if it works out for you.. I'll hold off release to make sure it's working.

ms7m commented 3 years ago

Go ahead and try to unzip this file and

pip install notify_py-0.3.2-py3-none-any.whl

notify_py-0.3.2.zip

padmalcom commented 3 years ago

No I pulled the main branch. I'll test the wheel in monday, thanks!

padmalcom commented 3 years ago

Works fine, thank you!