Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Run only once? #2477

Closed
2 tasks done
davidnewhall opened this issue Mar 10, 2023 · 3 comments
Closed
2 tasks done

Run only once? #2477

davidnewhall opened this issue Mar 10, 2023 · 3 comments
Labels
Documentation Improvements or additions to documentation

Comments

@davidnewhall
Copy link

Have you read the Documentation Contribution Guidelines?

Description

This isn't really an issue, but more of a question, and possibly a feature request.

If I double-click a wails-built app twice (exe in this case), it will open twice. Does Wails have anything to prevent that from happening? Running more than once may be dangerous in my case. I'm contemplating writing a file with a pid I can check on startup. Got any other ideas or suggestions?

I checked the docs, and searched the GH issues, but I don't see anything about this. If it's a documentation issue, I'm happy to fix it (once a solution is identified).

Thank you!

Self-service

  • I'd be willing to address this documentation request myself.
@davidnewhall davidnewhall added the Documentation Improvements or additions to documentation label Mar 10, 2023
@stffabi
Copy link
Collaborator

stffabi commented Mar 11, 2023

Thanks for opening this issue and using Wails.

Unfortunately we currently don't have an integrated solution for this. We have an issue for this feature #1351, where also some people mentioned their solutions for it.

#1351 is currently not on the near roadmap (sometime post v3).

@stffabi
Copy link
Collaborator

stffabi commented Mar 11, 2023

Duplicate of #1351

@stffabi stffabi marked this as a duplicate of #1351 Mar 11, 2023
@stffabi stffabi closed this as completed Mar 11, 2023
@davidnewhall
Copy link
Author

Thank you for the links!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Documentation Improvements or additions to documentation
Projects
None yet
Development

No branches or pull requests

2 participants