Compare commits

...

10 commits

Author SHA1 Message Date
smartfrigde
a212dba6bb v3.0.3 2022-01-17 15:36:37 +01:00
smartfrigde
5ab18f68b8 Merge branch 'main' of https://github.com/armcord/armcord 2022-01-17 15:35:14 +01:00
smartfrigde
1f14f8b472 fix like everything 2022-01-17 15:35:12 +01:00
smartfridge
165e21c473
Merge pull request #71 from kz-n/readme-corrections
KevinCraft
2022-01-17 15:01:06 +01:00
kz-n
36f94bc404
Update README.md 2022-01-17 14:55:16 +01:00
smartfridge
70eacac888
Merge pull request #70 from kz-n/readme-corrections
Readme corrections
2022-01-17 14:51:59 +01:00
kz-n
c2bd002968
Further notice on mac os builds not working 2022-01-17 13:23:09 +01:00
kz-n
65522c9718
Spelling mistake 2022-01-17 13:15:16 +01:00
kz-n
643611b509
Easier to read 2022-01-17 13:13:49 +01:00
kz-n
3f5d091fd0
Changes to landing section and title 2022-01-17 13:13:10 +01:00
3 changed files with 54 additions and 23 deletions

View file

@ -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.

View file

@ -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": {

View file

@ -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`);
}
}