mirror of
https://github.com/smartfrigde/armcord.git
synced 2024-08-14 23:56:58 +00:00
amongus broke my discord :(
This commit is contained in:
parent
3461a997df
commit
0d7a68c713
4 changed files with 5 additions and 4 deletions
4
package-lock.json
generated
4
package-lock.json
generated
|
@ -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
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
|
@ -79,4 +79,4 @@
|
||||||
]
|
]
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
|
@ -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();
|
||||||
|
|
|
@ -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);
|
||||||
|
|
Loading…
Reference in a new issue