mirror of
https://github.com/smartfrigde/armcord.git
synced 2024-08-14 23:56:58 +00:00
Bump version add changes from https://github.com/kckarnige/armcord thanks
This commit is contained in:
parent
1cac042ed5
commit
09a1b388e3
3 changed files with 21 additions and 7 deletions
2
main.js
2
main.js
|
@ -8,7 +8,7 @@ require("./utils/updater");
|
|||
|
||||
if (os.type() == 'Linux'){
|
||||
var iconformat = __dirname + "/discord.png"
|
||||
} else {
|
||||
} else { //test this
|
||||
console.log("Running Non-Linux")
|
||||
var iconformat = __dirname + "/discord.ico";
|
||||
}
|
||||
|
|
|
@ -1,6 +1,6 @@
|
|||
{
|
||||
"name": "armcord",
|
||||
"version": "2.3.3",
|
||||
"version": "2.4.0",
|
||||
"description": "ArmCord is a Discord client made for ARM Linux that allows you to customize your experience.",
|
||||
"main": "main.js",
|
||||
"scripts": {
|
||||
|
|
24
preload.js
24
preload.js
|
@ -26,10 +26,20 @@ electronLocalshortcut.register(currentWindow, "F5", () => {
|
|||
electronLocalshortcut.register(currentWindow, "F12", () => {
|
||||
currentWindow.webContents.openDevTools();
|
||||
});
|
||||
electronLocalshortcut.register(currentWindow, "F1", () => {
|
||||
require("shell").openExternal("https://support.discord.com/");
|
||||
});
|
||||
electronLocalshortcut.register(currentWindow, "F2", () => {
|
||||
window.location.href = "https://discord.com/invite/F25bc4RYDt";
|
||||
});
|
||||
require("./utils/capturer.js")
|
||||
addStyle(`
|
||||
@import url("https://kckarnige.github.io/femboi_owo/discord-font.css");
|
||||
|
||||
:root {
|
||||
--window-buttons: var(--header-secondary);
|
||||
--cord-color: var(--header-primary);
|
||||
--armcord-color: #7289da;
|
||||
}
|
||||
.base-3dtUhz, .sidebar-2K8pFh {
|
||||
display: -webkit-box;
|
||||
display: -ms-flexbox;
|
||||
|
@ -47,7 +57,7 @@ div.menubar[role="menubar"] {
|
|||
|
||||
.window-title:after {
|
||||
content: "Cord";
|
||||
color: #fff;
|
||||
color: var(--cord-color) !important;
|
||||
font-weight: normal;
|
||||
font-size: 14px;
|
||||
font-family: Discordinated;
|
||||
|
@ -55,7 +65,7 @@ div.menubar[role="menubar"] {
|
|||
|
||||
.window-title:before {
|
||||
content: "ARM";
|
||||
color: #7289da;
|
||||
color: var(--armcord-color);
|
||||
font-weight: normal;
|
||||
font-size: 14px;
|
||||
font-family: Helvetica, sans-serif;
|
||||
|
@ -67,8 +77,12 @@ div.menubar[role="menubar"] {
|
|||
transform: translate(10px, 2px) !important;
|
||||
}
|
||||
|
||||
.titlebar {
|
||||
background: #202225 !important;
|
||||
background: #202225 !important;
|
||||
background: var(--background-tertiary) !important;
|
||||
font-family: Verdana, Geneva, Tahoma, sans-serif;
|
||||
}
|
||||
.titlebar .window-controls-container .window-icon {
|
||||
background: var(--window-buttons) !important;
|
||||
}
|
||||
`);
|
||||
})
|
||||
|
|
Loading…
Reference in a new issue