switch to armcord.app

This commit is contained in:
smartfrigde 2023-07-29 20:01:43 +02:00
parent e773d97c9d
commit 04e980f3e3
9 changed files with 16 additions and 16 deletions

View file

@ -1,6 +1,6 @@
<div align="center">
<img src="https://armcord.xyz/logo.png" width="520">
<img src="https://armcord.app/logo.png" width="520">
<br>ArmCord is a custom client designed to enhance your Discord experience while keeping everything lightweight.
</div>
@ -49,7 +49,7 @@
<img src="https://get.microsoft.com/images/en-us%20dark.svg" alt="Download ArmCord" />
</a>
If you're using an older version of Windows, you need to use [pre-built installers](https://www.armcord.xyz/download).
If you're using an older version of Windows, you need to use [pre-built installers](https://www.armcord.app/download).
### Flatpak
<a href='https://flathub.org/apps/details/xyz.armcord.ArmCord'><img width='240' alt='Download on Flathub' src='https://flathub.org/assets/badges/flathub-badge-en.svg'/></a>
@ -57,8 +57,8 @@ If you're using an older version of Windows, you need to use [pre-built installe
### Debian, Ubuntu and Raspbian repository
ArmCord is available on our official repositories for `apt` package manager. By using this method you'll receive automatic updates and get all the dependencies. Run the following commands to install ArmCord from them:
```sh
curl -fsSL https://eu.armcord.xyz/pgp-key.public | sudo gpg --dearmor -o /usr/share/keyrings/armcord.gpg
echo "deb [arch=$(dpkg --print-architecture) signed-by=/usr/share/keyrings/armcord.gpg] https://eu.armcord.xyz/apt-repo stable main" | sudo tee /etc/apt/sources.list.d/armcord.list
curl -fsSL https://eu.armcord.app/pgp-key.public | sudo gpg --dearmor -o /usr/share/keyrings/armcord.gpg
echo "deb [arch=$(dpkg --print-architecture) signed-by=/usr/share/keyrings/armcord.gpg] https://eu.armcord.app/apt-repo stable main" | sudo tee /etc/apt/sources.list.d/armcord.list
sudo apt update
sudo apt install armcord
```

View file

@ -38,7 +38,7 @@ SOFTWARE.*/
font-family: Whitney;
font-weight: 400;
font-style: normal;
src: url(https://armcord.xyz/whitney_400.woff) format("woff");
src: url(https://armcord.app/whitney_400.woff) format("woff");
}
html,

View file

@ -16,7 +16,7 @@
font-family: Whitney;
font-weight: 400;
font-style: normal;
src: url(https://armcord.xyz/whitney_400.woff) format("woff");
src: url(https://armcord.app/whitney_400.woff) format("woff");
}
html,

View file

@ -31,7 +31,7 @@ SOFTWARE.*/
font-family: Whitney;
font-weight: 400;
font-style: normal;
src: url(https://armcord.xyz/whitney_400.woff) format("woff");
src: url(https://armcord.app/whitney_400.woff) format("woff");
}
html,

View file

@ -30,7 +30,7 @@
font-family: Whitney;
font-weight: 200;
font-style: normal;
src: url(https://armcord.xyz/whitney_400.woff) format("woff");
src: url(https://armcord.app/whitney_400.woff) format("woff");
}
* {

View file

@ -4,7 +4,7 @@
import {ipcRenderer} from "electron";
import {injectJS} from "../utils";
const patchEndpoint = "https://patch.armcord.xyz";
const patchEndpoint = "https://patch.armcord.app";
const version = ipcRenderer.sendSync("get-app-version", "app-version");
if (ipcRenderer.sendSync("shouldPatch")) {
document.addEventListener("DOMContentLoaded", function () {

View file

@ -18,7 +18,7 @@
<body>
<div class="container">
<video autoplay loop class="logo" id="splashscreen-armcord">
<source src="https://armcord.xyz/discord_loading.webm" type="video/webm" />
<source src="https://armcord.app/discord_loading.webm" type="video/webm" />
</video>
<p id="text-splashscreen"></p>
</div>
@ -33,12 +33,12 @@
if (window.internal.version === "3.3.0") {
console.log("Running a development build of ArmCord. Skipping updater.");
} else {
const response = await fetch("https://armcord.xyz/latest.json");
const response = await fetch("https://armcord.app/latest.json");
const data = await response.json();
if (data.version !== window.internal.version) {
var elem = document.createElement("img");
elem.classList.add("logo");
elem.src = "https://armcord.xyz/update.webp";
elem.src = "https://armcord.app/update.webp";
document.body.prepend(elem);
document.getElementById("splashscreen-armcord").remove();
text.innerHTML = await internal.getLang("loading_screen_update");

View file

@ -30,7 +30,7 @@
font-family: Whitney;
font-weight: 200;
font-style: normal;
src: url(https://armcord.xyz/whitney_400.woff) format("woff");
src: url(https://armcord.app/whitney_400.woff) format("woff");
}
* {

View file

@ -338,8 +338,8 @@ async function updateModBundle(): Promise<void> {
};
const clientModsCss = {
vencord: "https://github.com/Vendicated/Vencord/releases/download/devbuild/browser.css",
cordwood: "https://armcord.xyz/placeholder.css",
shelter: "https://armcord.xyz/placeholder.css"
cordwood: "https://armcord.app/placeholder.css",
shelter: "https://armcord.app/placeholder.css"
};
let bundle: string = await (await fetch(clientMods[name as keyof typeof clientMods])).text();
fs.writeFileSync(`${distFolder}bundle.js`, bundle, "utf-8");
@ -376,7 +376,7 @@ export async function installModLoader(): Promise<void> {
fs.mkdirSync(pluginFolder);
console.log("[Mod loader] Created missing plugin folder");
}
let loaderZip = await fetch("https://armcord.xyz/loader.zip");
let loaderZip = await fetch("https://armcord.app/loader.zip");
if (!loaderZip.ok) throw new Error(`unexpected response ${loaderZip.statusText}`);
await streamPipeline(loaderZip.body, fs.createWriteStream(zipPath));
await extract(zipPath, {dir: path.join(app.getPath("userData"), "plugins")});