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

View File

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

View File

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

View File

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