feat: use standardized icon for macOS (#48)
Co-authored-by: V <vendicated@riseup.net>
This commit is contained in:
parent
a95f7f8fbd
commit
08090e3764
2 changed files with 0 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 { app, BrowserWindow } from "electron";
|
||||||
import { checkUpdates } from "updater/main";
|
import { checkUpdates } from "updater/main";
|
||||||
|
|
||||||
import { ICON_PATH } from "../shared/paths";
|
|
||||||
import { DATA_DIR } from "./constants";
|
import { DATA_DIR } from "./constants";
|
||||||
import { createFirstLaunchTour } from "./firstLaunch";
|
import { createFirstLaunchTour } from "./firstLaunch";
|
||||||
import { createWindows, mainWin } from "./mainWindow";
|
import { createWindows, mainWin } from "./mainWindow";
|
||||||
|
@ -48,7 +47,6 @@ function init() {
|
||||||
app.whenReady().then(async () => {
|
app.whenReady().then(async () => {
|
||||||
checkUpdates();
|
checkUpdates();
|
||||||
if (process.platform === "win32") app.setAppUserModelId("dev.vencord.desktop");
|
if (process.platform === "win32") app.setAppUserModelId("dev.vencord.desktop");
|
||||||
else if (process.platform === "darwin") app.dock.setIcon(ICON_PATH);
|
|
||||||
|
|
||||||
registerScreenShareHandler();
|
registerScreenShareHandler();
|
||||||
bootstrap();
|
bootstrap();
|
||||||
|
|
Loading…
Reference in a new issue