feat: use standardized icon for macOS
This commit is contained in:
parent
b4da701080
commit
802dafcdb5
4 changed files with 1 additions and 2 deletions
BIN
build/icon.icns
Normal file
BIN
build/icon.icns
Normal file
Binary file not shown.
|
@ -9,7 +9,6 @@ import "./ipc";
|
|||
import { app, BrowserWindow } from "electron";
|
||||
import { checkUpdates } from "updater/main";
|
||||
|
||||
import { ICON_PATH } from "../shared/paths";
|
||||
import { DATA_DIR } from "./constants";
|
||||
import { createFirstLaunchTour } from "./firstLaunch";
|
||||
import { createWindows, mainWin } from "./mainWindow";
|
||||
|
@ -48,7 +47,6 @@ function init() {
|
|||
app.whenReady().then(async () => {
|
||||
checkUpdates();
|
||||
if (process.platform === "win32") app.setAppUserModelId("dev.vencord.desktop");
|
||||
else if (process.platform === "darwin") app.dock.setIcon(ICON_PATH);
|
||||
|
||||
registerScreenShareHandler();
|
||||
bootstrap();
|
||||
|
|
|
@ -10,3 +10,4 @@ export const STATIC_DIR = /* @__PURE__ */ join(__dirname, "..", "..", "static");
|
|||
export const VIEW_DIR = /* @__PURE__ */ join(STATIC_DIR, "views");
|
||||
export const BADGE_DIR = /* @__PURE__ */ join(STATIC_DIR, "badges");
|
||||
export const ICON_PATH = /* @__PURE__ */ join(STATIC_DIR, "icon.png");
|
||||
export const MACOS_ICON_PATH = /* @__PURE__ */ join(STATIC_DIR, "icon.icns");
|
||||
|
|
BIN
static/icon.icns
Normal file
BIN
static/icon.icns
Normal file
Binary file not shown.
Reference in a new issue