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
46
README.md
46
README.md
|
@ -1,20 +1,46 @@
|
|||
|
||||
<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 clone https://github.com/ArmCord/ArmCord.git`
|
||||
|
|
|
@ -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