small cleanup to how discordrpc does things, fixed the icon for linux

This commit is contained in:
Core 2022-01-07 20:11:30 +00:00
parent eca7d4c78b
commit c85b8d22ff
No known key found for this signature in database
GPG key ID: 1B77805746C47C28
2 changed files with 28 additions and 24 deletions

View file

@ -38,7 +38,7 @@ const CiderBase = {
let win = null
const options = {
icon: join(__dirname, `../../resources/icons/icon.ico`),
icon: join(__dirname, `../../resources/icons/icon.` + (process.platform === "win32" ? "ico" : "png")),
width: mainWindowState.width,
height: mainWindowState.height,
x: mainWindowState.x,