Open LoganDark opened 2 years ago
+1
+1
Use reactions for this.
lemme know if I should open a new issue, but I'm having this same exact error
Don't open a new issue if it's the same error
it crashes really soon after it launches, if there are any filesystem logs I'm happy to paste them
it crashes really soon after it launches, if there are any filesystem logs I'm happy to paste them
That's a different problem
Hello guys!
It seems that when you close using ALT+F4 the window gets destroyed not only hidden as it should be. I will take a look.
Hello guys!
It seems that when you close using ALT+F4 the window gets destroyed not only hidden as it should be. I will take a look.
For Electron you should be listening to the window close event (and just calling window close when clicking the close button), not having the close button run special logic
This was my first and only program using Electron, so... I made a couple mistakes along the way. Including choosing a very outdated boilerplate... Now I have to almost completely redo this program. 😔
The program works pretty well in the meantime, so feel free to take your time. :P
If anyone stumbles upon this in the future --- open task manager, search for sshfs and most likely it is running in the background. Kill it and launch again, it should work
If you use Alt+F4 to close the window, then the window gets destroyed and the tray icon stops working. Clicking results in this:
Closing the window using the X button works properly.