leanflutter / window_manager

This plugin allows Flutter desktop apps to resizing and repositioning the window.
https://pub.dev/packages/window_manager
MIT License
724 stars 205 forks source link

Open once #505

Closed mbfakourii closed 1 month ago

mbfakourii commented 1 month ago

It is not possible to set the program to not open a new instance of the program if it is open.

Open only one instance.

For example, if you clicked on the exe output file several times, only one instance of the program will open

lijy91 commented 1 month ago

Did you configure the single instance according to this article? https://leanflutter.dev/tips-and-tricks/001-making-the-app-single-instanced/

lijy91 commented 1 month ago

Please provide your code

mbfakourii commented 1 month ago

Thanks, solved