FKLC / WhatsAppToDiscord

WhatsAppToDiscord is a Discord bot that uses WhatsApp Web as a bridge between Discord and WhatsApp.
https://fklc.github.io/WhatsAppToDiscord/
MIT License
238 stars 67 forks source link

Make it a tray application #140

Closed IOplus closed 9 months ago

IOplus commented 1 year ago

Is your feature request related to a problem? Please describe. It's not a problem, it just annoys me a bit to have a terminal window opened all the time...

Describe the solution you'd like Make it a tray application. Display the terminal window only on first run and when the setup is completed close it and minimize to tray.

Describe alternatives you've considered An option in settings to not show the window and make it run as a background service, and then we would need a command to stop the bot from the control-room chat.

HClausing commented 12 months ago

I did something similar creating a start.bat file on the WA2DC root folder, running the WA2CD.exe, then, added it to Scheduled Tasks on Windows, running when computer starts (even without any user logged).

FKLC commented 9 months ago

While this is a good idea, with the current compilation methods, it is pretty hard to hide the console. Even if I did, then I would have to come up with a way to create a tray icon, and this would only be for windows. So yeah, while I agree that it would be a great enhancement, it adds unreasonable complexity. So, unfortunately, I won't be implementing this, sorry.