mirror of
https://github.com/zulip/zulip-desktop.git
synced 2025-11-03 05:23:17 +00:00
reset window position
This commit is contained in:
@@ -371,7 +371,7 @@ class AppMenu {
|
||||
const getAppPath = path.join(app.getPath('appData'), appName, 'window-state.json');
|
||||
|
||||
fs.unlink(getAppPath, () => {
|
||||
setTimeout(() => app.relaunch(), app.exit(), 1000);
|
||||
setTimeout(() => AppMenu.sendAction('clear-app-data'), 1000);
|
||||
});
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user