diff --git a/desktop/build/icon.icns b/desktop/build/icon.icns deleted file mode 100644 index ab7eface7..000000000 Binary files a/desktop/build/icon.icns and /dev/null differ diff --git a/desktop/build/window-icon.png b/desktop/build/window-icon.png deleted file mode 100644 index 5b0458033..000000000 Binary files a/desktop/build/window-icon.png and /dev/null differ diff --git a/desktop/electron-builder.yml b/desktop/electron-builder.yml index baa984e6b..9189c3435 100644 --- a/desktop/electron-builder.yml +++ b/desktop/electron-builder.yml @@ -12,7 +12,6 @@ linux: arch: [x64, arm64] - target: pacman arch: [x64, arm64] - icon: ./resources/icon.icns category: Photography mac: target: diff --git a/desktop/src/main/init.ts b/desktop/src/main/init.ts index fb0e5d1a8..0a12da353 100644 --- a/desktop/src/main/init.ts +++ b/desktop/src/main/init.ts @@ -20,21 +20,15 @@ const execAsync = util.promisify(require("child_process").exec); * This window will show the HTML served from {@link rendererURL}. */ export const createWindow = async () => { - const appImgPath = isDev - ? "../build/window-icon.png" - : path.join(process.resourcesPath, "window-icon.png"); - const appIcon = nativeImage.createFromPath(appImgPath); - // Create the main window. This'll show our web content. const mainWindow = new BrowserWindow({ webPreferences: { preload: path.join(app.getAppPath(), "preload.js"), }, - icon: appIcon, // The color to show in the window until the web content gets loaded. // See: https://www.electronjs.org/docs/latest/api/browser-window#setting-the-backgroundcolor-property backgroundColor: "black", - // We'll show conditionally depending on `wasAutoLaunched` later + // We'll show it conditionally depending on `wasAutoLaunched` later. show: false, });