mirror of
https://github.com/smartfrigde/armcord.git
synced 2024-08-14 23:56:58 +00:00
Update main.js
This commit is contained in:
parent
cdf8ed4ba7
commit
024e37e5d0
1 changed files with 6 additions and 1 deletions
5
main.js
5
main.js
|
@ -6,7 +6,12 @@ const os = require("os");
|
|||
require("v8-compile-cache");
|
||||
require("./utils/updater");
|
||||
|
||||
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) => [
|
||||
|
|
Loading…
Reference in a new issue