diff --git a/src/main/constants.ts b/src/main/constants.ts index 43d9d44ed..92c4da049 100644 --- a/src/main/constants.ts +++ b/src/main/constants.ts @@ -43,7 +43,7 @@ export enum GameStatus { Cancelled = "cancelled", } -export const defaultDownloadsPath = path.join(os.homedir(), "downloads"); +export const defaultDownloadsPath = app.getPath("downloads"); export const databasePath = path.join( app.getPath("appData"), diff --git a/src/renderer/src/pages/game-details/online-fix-installation-guide.tsx b/src/renderer/src/pages/game-details/online-fix-installation-guide.tsx index 09f51c5dc..768440f15 100644 --- a/src/renderer/src/pages/game-details/online-fix-installation-guide.tsx +++ b/src/renderer/src/pages/game-details/online-fix-installation-guide.tsx @@ -1,5 +1,4 @@ import { Button, CheckboxField, Modal, TextField } from "@renderer/components"; -import { Backdrop } from "@renderer/components/backdrop/backdrop"; import { createPortal } from "react-dom"; export function OnlineFixInstallationGuide() {