Minor cleanup.

This commit is contained in:
Patrick Fic
2025-04-09 12:19:32 -07:00
parent b765a9262d
commit 1404ad6052
18 changed files with 210 additions and 119 deletions

View File

@@ -13,7 +13,6 @@ import log from "electron-log/main";
import { autoUpdater } from "electron-updater";
import path, { join } from "path";
import appIcon from "../../resources/diamond.png?asset";
import icon from "../../resources/icon.png?asset";
import {
default as ErrorTypeCheck,
default as errorTypeCheck,
@@ -54,7 +53,7 @@ function createWindow(): void {
minWidth: 600,
minHeight: 400,
//autoHideMenuBar: true,
...(process.platform === "linux" ? { icon } : {}),
...(process.platform === "linux" ? { icon: appIcon } : {}),
title: "Shop Partner",
webPreferences: {
preload: join(__dirname, "../preload/index.js"),