This commit is contained in:
smartfridge 2021-05-16 13:08:20 +02:00
parent 0c7b7af2b3
commit 8cdd7e15b7
2 changed files with 1 additions and 2 deletions

View file

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

View file

@ -12,7 +12,7 @@ window.addEventListener("DOMContentLoaded", () => {
const theme = fs.readFileSync(`${__dirname}/themes/${file}/${themeFile.theme}`, "utf8"); const theme = fs.readFileSync(`${__dirname}/themes/${file}/${themeFile.theme}`, "utf8");
if (themeFile.theme.endsWith(".scss")) { if (themeFile.theme.endsWith(".scss")) {
console.log( console.log(
`%cCouldn't load ${themeFile.name} made by ${themeFile.author}. ArmCord doesn't suppot scss files if you want to have this theme ported feel free to reach out https://discord.gg/F25bc4RYDt `, `%cCouldn't load ${themeFile.name} made by ${themeFile.author}. ArmCord doesn't support scss files if you want to have this theme ported feel free to reach out https://discord.gg/F25bc4RYDt `,
"color:red; font-weight: bold; font-size: 50px;color: red;" "color:red; font-weight: bold; font-size: 50px;color: red;"
); );
} }