mirror of
https://github.com/smartfrigde/armcord.git
synced 2024-08-14 23:56:58 +00:00
Update to new desktop icon
This commit is contained in:
parent
017ee7b430
commit
51018b108a
6 changed files with 2 additions and 2 deletions
BIN
assets/desktop.png
Normal file
BIN
assets/desktop.png
Normal file
Binary file not shown.
After (image error) Size: 17 KiB |
BIN
build/icon.icns
BIN
build/icon.icns
Binary file not shown.
BIN
build/icon.ico
BIN
build/icon.ico
Binary file not shown.
Before (image error) Size: 66 KiB After (image error) Size: 109 KiB |
BIN
build/icon.png
BIN
build/icon.png
Binary file not shown.
Before (image error) Size: 81 KiB After (image error) Size: 17 KiB |
|
@ -66,7 +66,7 @@ if (!app.requestSingleInstanceLock()) {
|
||||||
if ((await getConfig("customIcon")) !== undefined ?? null) {
|
if ((await getConfig("customIcon")) !== undefined ?? null) {
|
||||||
iconPath = await getConfig("customIcon");
|
iconPath = await getConfig("customIcon");
|
||||||
} else {
|
} else {
|
||||||
iconPath = path.join(__dirname, "../", "/assets/ac_icon_transparent.png");
|
iconPath = path.join(__dirname, "../", "/assets/desktop.png");
|
||||||
}
|
}
|
||||||
async function init(): Promise<void> {
|
async function init(): Promise<void> {
|
||||||
switch (await getConfig("windowStyle")) {
|
switch (await getConfig("windowStyle")) {
|
||||||
|
|
|
@ -57,7 +57,7 @@ export function setup(): void {
|
||||||
trayIcon: "default",
|
trayIcon: "default",
|
||||||
doneSetup: false,
|
doneSetup: false,
|
||||||
clientName: "ArmCord",
|
clientName: "ArmCord",
|
||||||
customIcon: path.join(__dirname, "../", "/assets/ac_icon_transparent.png")
|
customIcon: path.join(__dirname, "../", "/assets/desktop.png")
|
||||||
};
|
};
|
||||||
setConfigBulk({
|
setConfigBulk({
|
||||||
...defaults
|
...defaults
|
||||||
|
|
Loading…
Reference in a new issue