Update main.js

This commit is contained in:
KayoticCarnige 2021-05-22 11:03:32 -04:00
parent cdf8ed4ba7
commit 024e37e5d0

View file

@ -6,7 +6,12 @@ const os = require("os");
require("v8-compile-cache");
require("./utils/updater");
var iconformat = __dirname + "/discord.png"
if (os.type() == 'Linux'){
var iconformat = __dirname + "/discord.png"
} else { //test this
console.log("Running Non-Linux")
var iconformat = __dirname + "/discord.ico";
}
contextMenu({
prepend: (defaultActions, parameters, browserWindow) => [