Fix import errors
This commit is contained in:
parent
8ffe1ece2d
commit
937e09f6a3
3 changed files with 5 additions and 4 deletions
|
@ -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);
|
||||
|
|
|
@ -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";
|
||||
|
|
|
@ -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 {
|
||||
|
|
Loading…
Reference in a new issue