4 Commits

Author SHA1 Message Date
Vendicated
0296f78731 Bump!! 2023-04-04 03:01:21 +02:00
Vendicated
b151631d03 make crapple happy 2: Electric Boogaloo 2023-04-04 03:01:11 +02:00
Vendicated
d817950681 make crapple happy 2023-04-04 02:53:09 +02:00
Vendicated
c0ba813041 switch to png icon 2023-04-04 02:26:55 +02:00
4 changed files with 7 additions and 3 deletions

View File

@@ -1,7 +1,7 @@
{
"name": "vencorddesktop",
"name": "VencordDesktop",
"private": true,
"version": "0.1.0",
"version": "0.1.1",
"description": "",
"main": "dist/js/main.js",
"scripts": {

View File

@@ -9,6 +9,7 @@ import { DATA_DIR, VENCORD_FILES_DIR } from "./constants";
import { once } from "../shared/utils/once";
import { ensureVencordFiles } from "./utils/vencordLoader";
import { ICON_PATH } from "../shared/paths";
import "./ipc";
// Make the Vencord files use our DATA_DIR
@@ -30,6 +31,9 @@ if (!app.requestSingleInstanceLock()) {
});
app.whenReady().then(async () => {
if (process.platform === "darwin")
app.dock.setIcon(ICON_PATH);
createWindows();
app.on('activate', () => {

View File

@@ -1,4 +1,4 @@
import { join } from "path";
export const STATIC_DIR = join(__dirname, "..", "..", "static");
export const ICON_PATH = join(STATIC_DIR, "icon.ico");
export const ICON_PATH = join(STATIC_DIR, "icon.png");

BIN
static/icon.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 9.5 KiB