diff --git a/README.md b/README.md index 06a23d1..3e92809 100644 --- a/README.md +++ b/README.md @@ -1,6 +1,6 @@ -# ArmCord πŸ¦ΎπŸ”Œ -Armcord is a custom alternative Discord client made for people on lower-end devices and ARM architecture that want custom Discord experience. It uses [GooseMod](https://goosemod.com) for custom themes and plugins! +# ![Arm with a Cord](https://raw.githubusercontent.com/kckarnige/armcord/main/arm-with-a-cord.svg) +ArmCord is a custom alternative Discord client made for people on lower-end devices and ARM architecture that want custom Discord experience. It uses [GooseMod](https://goosemod.com) for custom themes and plugins! # How to run/install it? Check releases tab for precompiled deb(ARM64), rpm(ARM64), tar.gz(ARM64), Windows builds. @@ -13,7 +13,7 @@ Alternative (npm, nodejs required): # FAQ ## 1.Will I get banned from using it? - -You are breaking Discord ToS since we are using GooseMod for themes and plugins. But no one ever got banned from using ArmCord or GooseMod + -You are breaking Discord ToS since we are using GooseMod for themes and plugins. But no one ever got banned from using ArmCord or GooseMod as of now ## 2.How does this work? -We are using official web app and adding GooseMod to it with some other tweaks. diff --git a/package-lock.json b/package-lock.json index 86f2969..0ac6700 100644 --- a/package-lock.json +++ b/package-lock.json @@ -2229,9 +2229,9 @@ } }, "node_modules/electron": { - "version": "12.0.6", - "resolved": "https://registry.npmjs.org/electron/-/electron-12.0.6.tgz", - "integrity": "sha512-+fqhpdG6Fd6LzsizMdaSPC1I8tfsMT8/7fsYBgABED3hEWdus/rt6CQ54P3/EWZyQebtyHR6HXtlofUqKMV3KQ==", + "version": "12.0.9", + "resolved": "https://registry.npmjs.org/electron/-/electron-12.0.9.tgz", + "integrity": "sha512-p5aEt1tIh/PYjwN+6MHTc5HtW529XR9r4Qlj9PPcSb5ubkotSsS0BtWJoRPhDenSAN8sgHk3sbZLxXPJtdnRYA==", "dev": true, "hasInstallScript": true, "dependencies": { @@ -8866,9 +8866,9 @@ } }, "electron": { - "version": "12.0.6", - "resolved": "https://registry.npmjs.org/electron/-/electron-12.0.6.tgz", - "integrity": "sha512-+fqhpdG6Fd6LzsizMdaSPC1I8tfsMT8/7fsYBgABED3hEWdus/rt6CQ54P3/EWZyQebtyHR6HXtlofUqKMV3KQ==", + "version": "12.0.9", + "resolved": "https://registry.npmjs.org/electron/-/electron-12.0.9.tgz", + "integrity": "sha512-p5aEt1tIh/PYjwN+6MHTc5HtW529XR9r4Qlj9PPcSb5ubkotSsS0BtWJoRPhDenSAN8sgHk3sbZLxXPJtdnRYA==", "dev": true, "requires": { "@electron/get": "^1.0.1", diff --git a/preload.js b/preload.js index 44bdfe1..b0ddc5e 100644 --- a/preload.js +++ b/preload.js @@ -2,12 +2,13 @@ const customTitlebar = require("custom-electron-titlebar"); const electronLocalshortcut = require("electron-localshortcut"); const { remote } = require("electron"); const ArmCord = require("./utils/ArmCord.js"); -require('./utils/theme.js') + window.addEventListener("DOMContentLoaded", () => { new customTitlebar.Titlebar({ backgroundColor: customTitlebar.Color.fromHex("#202225"), menu: false, }); + const currentWindow = remote.getCurrentWindow(); electronLocalshortcut.register(currentWindow, "F5", () => { location.reload(); @@ -21,14 +22,8 @@ window.addEventListener("DOMContentLoaded", () => { electronLocalshortcut.register(currentWindow, "F2", () => { window.location.href = "https://discord.com/invite/F25bc4RYDt"; }); - electronLocalshortcut.register(currentWindow, "F3", () => { - currentWindow.loadFile('theme.html') - }); require("./utils/capturer.js"); - console.log( - "%c ArmCord", - "font-weight: bold; font-size: 50px;color: red; text-shadow: 3px 3px 0 rgb(217,31,38) , 6px 6px 0 rgb(226,91,14) , 9px 9px 0 rgb(245,221,8) , 12px 12px 0 rgb(5,148,68) , 15px 15px 0 rgb(2,135,206) , 18px 18px 0 rgb(4,77,145) , 21px 21px 0 rgb(42,21,113)" - ); + ArmCord.addStyle(` @import url("https://kckarnige.github.io/femboi_owo/discord-font.css"); :root { @@ -75,9 +70,6 @@ div.menubar[role="menubar"] { .titlebar .window-controls-container .window-icon { background: var(--window-buttons) !important; } -.notice-3bPHh-.colorDefault-22HBa0 { - display: none; -} `); ArmCord.addStyle(