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
7
main.js
7
main.js
|
@ -6,7 +6,12 @@ const os = require("os");
|
||||||
require("v8-compile-cache");
|
require("v8-compile-cache");
|
||||||
require("./utils/updater");
|
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({
|
contextMenu({
|
||||||
prepend: (defaultActions, parameters, browserWindow) => [
|
prepend: (defaultActions, parameters, browserWindow) => [
|
||||||
|
|
Loading…
Reference in a new issue