amongus broke my discord :(

This commit is contained in:
smartfridge 2021-05-20 18:42:16 +02:00
parent 3461a997df
commit 0d7a68c713
4 changed files with 5 additions and 4 deletions

4
package-lock.json generated
View file

@ -21,7 +21,7 @@
"@electron-forge/maker-squirrel": "^6.0.0-beta.55",
"@electron-forge/maker-zip": "^6.0.0-beta.55",
"@electron-forge/publisher-github": "*",
"electron": "*"
"electron": "latest"
}
},
"node_modules/@electron-forge/async-ora": {
@ -12909,4 +12909,4 @@
"dev": true
}
}
}
}

View file

@ -79,4 +79,4 @@
]
}
}
}
}

View file

@ -8,7 +8,7 @@ window.addEventListener("DOMContentLoaded", () => {
backgroundColor: customTitlebar.Color.fromHex("#202225"),
menu: false,
});
require("./utils/theme.js");
const currentWindow = remote.getCurrentWindow();
electronLocalshortcut.register(currentWindow, "F5", () => {
location.reload();

View file

@ -1,6 +1,7 @@
const fs = require("fs");
const armcord = require("./armcord.js");
const themeFolder = __dirname + "/themes/";
console.log("Theme Module Loaded")
window.addEventListener("DOMContentLoaded", () => {
fs.readdirSync(themeFolder).forEach((file) => {
console.log(file);