DatGuy1 / Windows-Toasts

Python library used to send toast notifications on Windows machines
Apache License 2.0
96 stars 6 forks source link

Duplicate Images Generated in ActionCenterCache by AddImage #137

Closed yeyt97 closed 3 months ago

yeyt97 commented 3 months ago

I found that after adding an image using AddImage, a duplicate copy of the same image is created in the path "$USER$\AppData\Local\Microsoft\Windows\ActionCenterCache". Is there a way to avoid this?

DatGuy1 commented 3 months ago

Doesn't seem to happen to me. What Windows version are you on?

yeyt97 commented 3 months ago

windows 11 10.0.22631 I guess it's because the notifications are saved in the notification center, and it's necessary to back up the images for the next display. Is there another way to not keep the notifications in the notification center, deleting them immediately after they are displayed?

DatGuy1 commented 3 months ago

I see what you mean. I'll take another look at #99.