diff --git a/desktop/src/main.ts b/desktop/src/main.ts index eafcc009a..505d5f1cc 100644 --- a/desktop/src/main.ts +++ b/desktop/src/main.ts @@ -20,7 +20,7 @@ import { handleDownloads, handleExternalLinks, handleUpdates, - logSystemInfo, + logStartupBanner, setupMacWindowOnDockIconClick, setupMainMenu, setupTrayItem, @@ -162,7 +162,7 @@ const main = () => { // // Note that some Electron APIs can only be used after this event occurs. app.on("ready", async () => { - logSystemInfo(); + logStartupBanner(); mainWindow = await createWindow(); const watcher = initWatcher(mainWindow); setupTrayItem(mainWindow); diff --git a/desktop/src/services/imageProcessor.ts b/desktop/src/services/imageProcessor.ts index 374afe9ad..5da1c204c 100644 --- a/desktop/src/services/imageProcessor.ts +++ b/desktop/src/services/imageProcessor.ts @@ -5,9 +5,9 @@ import fs from "node:fs/promises"; import path from "path"; import util from "util"; import { CustomErrors } from "../constants/errors"; -import { isDev } from "../main"; import { writeStream } from "../main/fs"; import { logError, logErrorSentry } from "../main/log"; +import { isDev } from "../main/util"; import { ElectronFile } from "../types/ipc"; import { isPlatform } from "../utils/common/platform"; import { generateTempFilePath } from "../utils/temp"; diff --git a/desktop/src/utils/menu.ts b/desktop/src/utils/menu.ts index 5604cabce..8f7315da7 100644 --- a/desktop/src/utils/menu.ts +++ b/desktop/src/utils/menu.ts @@ -6,7 +6,8 @@ import { shell, } from "electron"; import ElectronLog from "electron-log"; -import { openDirectory, openLogDirectory, setIsAppQuitting } from "../main"; +import { setIsAppQuitting } from "../main"; +import { openDirectory, openLogDirectory } from "../main/util"; import { forceCheckForUpdateAndNotify } from "../services/appUpdater"; import autoLauncher from "../services/autoLauncher"; import {