Skip to content

armgit / ente

Public Imported from GitHub
0

πŸ’š End-to-end encrypted cloud for everything.

Remove duplicated icon

Manav Rathi42679bc9daa4
diff --git a/desktop/build/icon.icns b/desktop/build/icon.icns
deleted file mode 100644
index ab7eface7a..0000000000
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 5b0458033d..0000000000
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 baa984e6b3..9189c34355 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 fb0e5d1a83..0a12da353e 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,
});