small cleanup to how discordrpc does things, fixed the icon for linux
This commit is contained in:
parent
eca7d4c78b
commit
c85b8d22ff
2 changed files with 28 additions and 24 deletions
|
@ -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,
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue