winotify icon indicating copy to clipboard operation
winotify copied to clipboard

register_callback function not working with pyinstaller

Open DanielXavierJob opened this issue 1 year ago • 0 comments

Describe the bug

I'm trying to use Pyinstaller together with the notification library, it shows the notification normally, audio, etc., but when I try to use launch with the callback function, it doesn't run

To Reproduce Steps to reproduce the behavior:

  1. Create a file with launch=button_callback in notification
  2. Generate a exe file with pyinstaller
  3. Execute the executable
  4. See error

Expected behavior It is expected that when clicking on the action, the function will be called in the same way as when starting the project using Python

Desktop (please complete the following information):

  • Windows 11
  • Windows Powershell Version 5.1.26100.2161

DanielXavierJob avatar Jan 13 '25 15:01 DanielXavierJob