desktop
desktop copied to clipboard
bug: Restarting Revolt via tray icon opens default electron application
What happened?
If you restart the revolt desktop-application via the tray icon you wont get the revolt interface but instead the default electron application.
revolt-desktop build cca97f9 (master) revolt.js version 6.0.0-rc-26.0 native version 1.0.4
OS: Arch Linux x86_64 Host: Lenovo Thinkpad P43s

Removing this line https://github.com/revoltchat/desktop/blob/108e239f1261bc947857cdaf5a2145f64b0d19a2/src/main.ts#L290 fixes the bug for me, I don't know why it is needed to specify that in the first place since the Electron docs seem to indicate that you only need to specify execPath if you want to relaunch into a different app.
This bug is already fixed in the newest version.
Doesn't affect Windows on version 1.0.5. TODO: verify on Linux
I can confirm it isn't fixed on linux. Using the latest update.
https://user-images.githubusercontent.com/73664232/182042504-6e7b893b-9988-4141-9fbd-750d1d66cfbc.mp4
This still happens with the desktop client in Arch linux. It also happens when Revolt automatically starts upon login. Has anybody else found a solution to this? I don't know where the main.ts file that LennyMcLennington mentioned is located.