mirror of
https://github.com/zulip/zulip-desktop.git
synced 2025-11-03 05:23:17 +00:00
Merge pull request #235 from geeeeeeeeek/issue/reload-app-for-debugging
Add 'Hard Reload' mode for debugging.
This commit is contained in:
@@ -207,6 +207,11 @@ app.on('ready', () => {
|
||||
app.quit();
|
||||
});
|
||||
|
||||
ipc.on('hard-reload', () => {
|
||||
mainWindow.reload();
|
||||
page.send('destroytray');
|
||||
});
|
||||
|
||||
ipc.on('toggle-app', () => {
|
||||
if (mainWindow.isVisible()) {
|
||||
mainWindow.hide();
|
||||
|
||||
Reference in New Issue
Block a user