Ekkstein / pack-o-bot

A minimal Hearthstone pack tracker that logs packs to pitytracker.com
MIT License
15 stars 4 forks source link

Only allow a single instance of the bot to run #17

Closed jmxd closed 4 years ago

jmxd commented 6 years ago

I ran into an issue where i (thought i) closed the app and reopened it. Turns out the previous one was only minimized to the tray and i now had two instances of the app running at the same time, which resulted in all my packs being uploaded to pitytracker twice.

This was mostly my fault but perhaps only allow a single instance to run to prevent it from happening to others?

davidschwegler commented 4 years ago

This has been my top annoyance with the app over the years of using it.

Ekkstein commented 4 years ago

I yesterday saw this issue and took care of it. Version 0.3.3 takes care to only permit a single instance. If you have on open in the background, it will be activated and the newly opened is quit. Thank you for the report.

davidschwegler commented 4 years ago

10/10 thanks!