mirror of
https://github.com/smartfrigde/armcord.git
synced 2024-08-14 23:56:58 +00:00
Compare commits
10 commits
eb1e908b69
...
a212dba6bb
Author | SHA1 | Date | |
---|---|---|---|
|
a212dba6bb | ||
|
5ab18f68b8 | ||
|
1f14f8b472 | ||
|
165e21c473 | ||
|
36f94bc404 | ||
|
70eacac888 | ||
|
c2bd002968 | ||
|
65522c9718 | ||
|
643611b509 | ||
|
3f5d091fd0 |
3 changed files with 54 additions and 23 deletions
60
README.md
60
README.md
|
@ -1,35 +1,61 @@
|
|||
|
||||
<h1 align="center">
|
||||
<div align="center">
|
||||
<img src="https://armcord.vercel.app/armcord_full_logo.png" width="720">
|
||||
</h1>
|
||||
|
||||
ArmCord is a custom client designed to enhance your Discord experience while keeping everything lightweight.
|
||||
<br>ArmCord is a custom client designed to enhance your Discord experience while keeping everything lightweight.
|
||||
</div>
|
||||
|
||||
# Features
|
||||
|
||||
* **Standalone client** - ArmCord is built as standalone client, it doesn't rely on original Discord client.
|
||||
* **Various mods built in** - Explore Cumcord/GooseMod/Flicker plugins and their features!
|
||||
* **Made for Privacy** - ArmCord automatically blocks Discord's trackers.
|
||||
* **Faster than normal Discord app** - ArmCord is using newer Electron than stock Discord app. This usually means increased performance and more stable experience.
|
||||
* **Designed to work anywhere** - ArmCord was initially created in mind to run on Arm64 Linux devices. We soon expanded our support to more platforms. We plan to support every platform that [Electron supports](https://www.electronjs.org/docs/latest/tutorial/support#supported-platforms).
|
||||
- **Standalone client**
|
||||
|
||||
ArmCord is built as standalone client, it doesn't rely on original Discord client.
|
||||
|
||||
|
||||
- **Various mods built in**
|
||||
|
||||
Explore Cumcord/GooseMod/Flicker plugins and their features!
|
||||
|
||||
|
||||
- **Made for Privacy**
|
||||
|
||||
ArmCord automatically blocks Discord's trackers.
|
||||
|
||||
|
||||
- **Faster than normal Discord app**
|
||||
|
||||
ArmCord is using newer Electron than stock Discord app. This usually means increased performance and more stable experience.
|
||||
|
||||
|
||||
- **Designed to work anywhere**
|
||||
|
||||
ArmCord was initially created in mind to run on Arm64 Linux devices. We soon expanded our support to more platforms. We plan to support every platform that [Electron supports](https://www.electronjs.org/docs/latest/tutorial/support#supported-platforms).
|
||||
|
||||
# How to run/install it?
|
||||
### Recommended:
|
||||
Check releases tab for precompiled packages for Linux, Windows and Mac OS (experimental).
|
||||
Check releases tab for precompiled packages for Linux, Windows and ~~Mac OS~~ (Mac OS is broken see [#48](https://github.com/ArmCord/ArmCord/issues/48)).
|
||||
|
||||
### AUR Package
|
||||
Armcord is also available on the Arch User Repository (AUR) [here](https://aur.archlinux.org/packages/armcord-bin/).
|
||||
|
||||
Install it via an AUR helper tool like `yay`.
|
||||
|
||||
**Example:** `yay -S armcord-bin`
|
||||
|
||||
### Manual:
|
||||
Alternatively you can run ArmCord from source (npm, nodejs required):
|
||||
1.Clone ArmCord repo: `git clonehttps://github.com/ArmCord/ArmCord.git`
|
||||
2.Run `npm install` to install dependencies
|
||||
3.Compile/Package with `npm run package`
|
||||
Alternatively you can run ArmCord from source (npm, nodejs required):
|
||||
1. Clone ArmCord repo: `git clone https://github.com/ArmCord/ArmCord.git`
|
||||
2. Run `npm install` to install dependencies
|
||||
3. Compile/Package with `npm run package`
|
||||
|
||||
|
||||
# FAQ
|
||||
## 1.Will I get banned from using it?
|
||||
## 1. Will I get banned from using it?
|
||||
|
||||
-You are breaking Discord ToS if you decided to use client mods. But no one ever got banned from using ArmCord or any of the client mods included. If you wish to remove mods, check our documentation.
|
||||
## 2.How does this work?
|
||||
## 2. How does this work?
|
||||
|
||||
-We are using official web app and adding some magic powder to make it all work!
|
||||
## 3.Can I use this on other architectures or operating systems?
|
||||
## 3. Can I use this on other architectures or operating systems?
|
||||
|
||||
-Yes! ArmCord should work normally under Windows, ~~Mac OS~~ (Mac OS is broken see [#48](https://github.com/ArmCord/ArmCord/issues/48)) and Linux as long as it has NodeJS, npm and Electron support.
|
||||
|
||||
|
|
|
@ -1,6 +1,6 @@
|
|||
{
|
||||
"name": "ArmCord",
|
||||
"version": "3.0.2",
|
||||
"version": "3.0.3",
|
||||
"description": "ArmCord is a custom client designed to enhance your Discord experience while keeping everything lightweight.",
|
||||
"main": "ts-out/main.js",
|
||||
"scripts": {
|
||||
|
|
15
src/main.ts
15
src/main.ts
|
@ -26,12 +26,17 @@ storage.has("settings", function (error, hasKey) {
|
|||
if (!hasKey) {
|
||||
console.log("First run of the ArmCord. Starting setup.");
|
||||
setup();
|
||||
contentPath = __dirname + "/content/setup.html";
|
||||
contentPath = path.join(__dirname, "/content/setup.html");
|
||||
if(!contentPath.includes("ts-out")) {
|
||||
contentPath = path.join(__dirname,"/ts-out/content/setup.html");
|
||||
}
|
||||
} else {
|
||||
console.log("ArmCord has been run before. Skipping setup.");
|
||||
contentPath = __dirname + "/content/splash.html";
|
||||
contentPath = path.join(__dirname,"/content/splash.html");
|
||||
if(!contentPath.includes("ts-out")) {
|
||||
contentPath = path.join(__dirname,"/ts-out/content/splash.html");
|
||||
}
|
||||
});
|
||||
}});
|
||||
storage.get("settings", function (error, data: any) {
|
||||
if (error) throw error;
|
||||
console.log(data);
|
||||
|
@ -114,7 +119,7 @@ function createWindow() {
|
|||
desktopCapturer.getSources(opts)
|
||||
);
|
||||
mainWindow.webContents.userAgent =
|
||||
"Mozilla/5.0 (X11; Linux x86) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/74.0.3729.169 Safari/537.36"; //fake useragent
|
||||
"Mozilla/5.0 (X11; Linux x86) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/74.0.3729.169 Safari/537.36"; //fake useragent for screenshare to work
|
||||
mainWindow.webContents.setWindowOpenHandler(({ url }) => {
|
||||
shell.openExternal(url);
|
||||
return { action: "deny" };
|
||||
|
@ -124,7 +129,7 @@ function createWindow() {
|
|||
mainWindow.loadFile(contentPath);
|
||||
} catch(e) {
|
||||
console.log("Major error detected while starting up. User is most likely on Windows platform. Fallback to alternative startup.")
|
||||
mainWindow.loadURL(`file://${__dirname}/content/splash.html`);
|
||||
mainWindow.loadURL(`file://${__dirname}/ts-out/content/splash.html`);
|
||||
}
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue