mirror of
https://github.com/smartfrigde/armcord.git
synced 2024-08-14 23:56:58 +00:00
Merge pull request #25 from smartfrigde/dependabot/npm_and_yarn/electron-12.0.9
Bump electron from 12.0.6 to 12.0.9
This commit is contained in:
commit
ae44bad4b1
3 changed files with 12 additions and 20 deletions
|
@ -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!
|
||||
# 
|
||||
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.
|
||||
|
|
12
package-lock.json
generated
12
package-lock.json
generated
|
@ -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",
|
||||
|
|
14
preload.js
14
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(
|
||||
|
|
Loading…
Reference in a new issue