diff --git a/main/registerAutoUpdaterListeners.ts b/main/registerAutoUpdaterListeners.ts index b712777c9..ac85ec86b 100644 --- a/main/registerAutoUpdaterListeners.ts +++ b/main/registerAutoUpdaterListeners.ts @@ -1,6 +1,6 @@ -import { emitMainProcessError } from 'backend/helpers'; import { app, dialog } from 'electron'; import { autoUpdater, UpdateInfo } from 'electron-updater'; +import { emitMainProcessError } from '../backend/helpers'; import { Main } from '../main'; import { isNetworkError } from './helpers'; diff --git a/main/registerIpcMainActionListeners.ts b/main/registerIpcMainActionListeners.ts index 66e7a16c3..50a2d8e8a 100644 --- a/main/registerIpcMainActionListeners.ts +++ b/main/registerIpcMainActionListeners.ts @@ -1,9 +1,9 @@ -import { emitMainProcessError } from 'backend/helpers'; import { app, dialog, ipcMain } from 'electron'; import { autoUpdater } from 'electron-updater'; import fs from 'fs/promises'; import path from 'path'; import databaseManager from '../backend/database/manager'; +import { emitMainProcessError } from '../backend/helpers'; import { Main } from '../main'; import { DatabaseMethod } from '../utils/db/types'; import { IPC_ACTIONS } from '../utils/messages';