Skip to content
Snippets Groups Projects
Unverified Commit 84af8b76 authored by Michael Clark's avatar Michael Clark Committed by GitHub
Browse files

:electron: Remove some old updater code (#3468)

* remove some old updater code

* remove old updater logic
parent b3669b30
No related branches found
No related tags found
No related merge requests found
......@@ -9,17 +9,6 @@ import * as undo from 'loot-core/src/platform/client/undo';
import { type BoundActions } from './hooks/useActions';
export function handleGlobalEvents(actions: BoundActions, store: Store<State>) {
global.Actual.onEventFromMain('update-downloaded', (event, updateInfo) => {
actions.setAppState({ updateInfo });
});
global.Actual.onEventFromMain('update-error', () => {
// Ignore errors. We don't want to constantly bug the user if they
// always have a flaky connection or have intentionally disabled
// updates. They will see the error in the about page if they try
// to update.
});
listen('server-error', () => {
actions.addGenericErrorNotification();
});
......
---
category: Maintenance
authors: [MikesGlitch]
---
Remove old updater logic
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment