Commit Graph

9 Commits

Author SHA1 Message Date
Yuyi Wang add9aff3ea fix: fix dangling pointer with Windows API, fixes #5. (#6)
The class_name passed into WNDCLASSEXW is dangling.
2022-09-01 18:13:40 +02:00
amrbashir 0bdfe927b1 fix(Windows): limit window/class names to 15 chars, closes #5 2022-08-31 01:49:33 +02:00
wkl 16e5e9eb59 fix(macos): fix SingleInstanceCallback type error (#4) 2022-08-25 12:35:10 +02:00
Fabian-Lars 4d903f3533 fix(windows): Use app.exit to clean up the tray (#3) 2022-07-10 12:22:52 +02:00
amrbashir b0052d2da4 feat: pass an AppHandle to the callback 2022-06-15 13:19:02 +02:00
amrbashir e02e88f4f7 refactor!: always close second instances
Always close second instances and remove the ability to to close them manually
we can bring it later if it is needed
2022-05-03 13:59:07 +02:00
amrbashir c86f4dc024 feat: implement linux 2022-05-03 13:52:52 +02:00
amrbashir ff1035740e feat: add the ability to close the new instance 2022-05-01 13:52:34 +02:00
amrbashir aaac569e0c feat: implement windows 2022-05-01 13:16:30 +02:00