Compare commits

..

No commits in common. "a212dba6bbe3652e2fd046ae9686d16f6db692c5" and "eb1e908b691d6a1c155db825aaccb98863dc0c02" have entirely different histories.

3 changed files with 23 additions and 54 deletions

View file

@ -1,46 +1,20 @@
<div align="center">
<h1 align="center">
<img src="https://armcord.vercel.app/armcord_full_logo.png" width="720">
<br>ArmCord is a custom client designed to enhance your Discord experience while keeping everything lightweight.
</div>
</h1>
ArmCord is a custom client designed to enhance your Discord experience while keeping everything lightweight.
# 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~~ (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`
Check releases tab for precompiled packages for Linux, Windows and Mac OS (experimental).
### Manual:
Alternatively you can run ArmCord from source (npm, nodejs required):
1.Clone ArmCord repo: `git clonehttps://github.com/ArmCord/ArmCord.git`

View file

@ -1,6 +1,6 @@
{
"name": "ArmCord",
"version": "3.0.3",
"version": "3.0.2",
"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,17 +26,12 @@ storage.has("settings", function (error, hasKey) {
if (!hasKey) {
console.log("First run of the ArmCord. Starting setup.");
setup();
contentPath = path.join(__dirname, "/content/setup.html");
if(!contentPath.includes("ts-out")) {
contentPath = path.join(__dirname,"/ts-out/content/setup.html");
}
contentPath = __dirname + "/content/setup.html";
} else {
console.log("ArmCord has been run before. Skipping setup.");
contentPath = path.join(__dirname,"/content/splash.html");
if(!contentPath.includes("ts-out")) {
contentPath = path.join(__dirname,"/ts-out/content/splash.html");
contentPath = __dirname + "/content/splash.html";
}
}});
});
storage.get("settings", function (error, data: any) {
if (error) throw error;
console.log(data);
@ -119,7 +114,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 for screenshare to work
"Mozilla/5.0 (X11; Linux x86) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/74.0.3729.169 Safari/537.36"; //fake useragent
mainWindow.webContents.setWindowOpenHandler(({ url }) => {
shell.openExternal(url);
return { action: "deny" };
@ -129,7 +124,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}/ts-out/content/splash.html`);
mainWindow.loadURL(`file://${__dirname}/content/splash.html`);
}
}