From b29bb29882e8523450fd62370e0e8654c702806d Mon Sep 17 00:00:00 2001 From: thororen <78185467+thororen1234@users.noreply.github.com> Date: Sun, 20 Sep 2026 11:48:53 -0400 Subject: [PATCH] add linux and windows arm64 --- README.md | 25 ++++++++++++++----------- scripts/runInstaller.mjs | 27 +++++++++++++++++---------- 2 files changed, 31 insertions(+), 21 deletions(-) diff --git a/README.md b/README.md index e432ea11d..3f713245d 100644 --- a/README.md +++ b/README.md @@ -16,25 +16,28 @@ Our included plugins can be found [here](https://equicord.org/plugins). Windows -- [GUI](https://github.com/Equicord/Equilotl/releases/latest/download/Equilotl.exe) -- [CLI](https://github.com/Equicord/Equilotl/releases/latest/download/EquilotlCli.exe) +| | X64 | ARM64 | +| --- | --- | --- | +| GUI | [Download](https://github.com/Equicord/Equilotl/releases/latest/download/Equilotl.exe) | [Download](https://github.com/Equicord/Equilotl/releases/latest/download/Equilotl-arm64.exe) | +| CLI | [Download](https://github.com/Equicord/Equilotl/releases/latest/download/EquilotlCli.exe) | [Download](https://github.com/Equicord/Equilotl/releases/latest/download/EquilotlCli-arm64.exe) | MacOS -- [Universal GUI](https://github.com/Equicord/Equilotl/releases/latest/download/Equilotl.dmg) -- [X64 GUI](https://github.com/Equicord/Equilotl/releases/latest/download/Equilotl-x64.dmg) -- [ARM64 GUI](https://github.com/Equicord/Equilotl/releases/latest/download/Equilotl-arm64.dmg) -- [Universal CLI](https://github.com/Equicord/Equilotl/releases/latest/download/EquilotlCli-universal) -- [X64 CLI](https://github.com/Equicord/Equilotl/releases/latest/download/EquilotlCli-x64) -- [ARM64 CLI](https://github.com/Equicord/Equilotl/releases/latest/download/EquilotlCli-arm64) +| | Universal | X64 | ARM64 | +| --- | --- | --- | --- | +| GUI | [Download](https://github.com/Equicord/Equilotl/releases/latest/download/Equilotl.dmg) | [Download](https://github.com/Equicord/Equilotl/releases/latest/download/Equilotl-x64.dmg) | [Download](https://github.com/Equicord/Equilotl/releases/latest/download/Equilotl-arm64.dmg) | +| CLI | [Download](https://github.com/Equicord/Equilotl/releases/latest/download/EquilotlCli-universal) | [Download](https://github.com/Equicord/Equilotl/releases/latest/download/EquilotlCli-x64) | [Download](https://github.com/Equicord/Equilotl/releases/latest/download/EquilotlCli-arm64) | The CLI builds are plain binaries, so run `chmod +x ` after downloading. Linux -- [GUI](https://github.com/Equicord/Equilotl/releases/latest/download/Equilotl-x11) -- [CLI](https://github.com/Equicord/Equilotl/releases/latest/download/EquilotlCli-Linux) -- [AUR](https://aur.archlinux.org/packages?O=0&K=equicord) +| | X64 | ARM64 | +| --- | --- | --- | +| Combined GUI | [Download](https://github.com/Equicord/Equilotl/releases/latest/download/Equilotl) | [Download](https://github.com/Equicord/Equilotl/releases/latest/download/Equilotl-arm64) | +| X11 GUI | [Download](https://github.com/Equicord/Equilotl/releases/latest/download/Equilotl-x11) | [Download](https://github.com/Equicord/Equilotl/releases/latest/download/Equilotl-x11-arm64) | +| Wayland GUI | [Download](https://github.com/Equicord/Equilotl/releases/latest/download/Equilotl-wayland) | [Download](https://github.com/Equicord/Equilotl/releases/latest/download/Equilotl-wayland-arm64) | +| CLI | [Download](https://github.com/Equicord/Equilotl/releases/latest/download/EquilotlCli-Linux) | [Download](https://github.com/Equicord/Equilotl/releases/latest/download/EquilotlCli-linux-arm64) | ```shell bash -c "$(curl -sS https://raw.githubusercontent.com/Equicord/Equilotl/refs/heads/main/install.sh)" diff --git a/scripts/runInstaller.mjs b/scripts/runInstaller.mjs index ef1023cc1..bc1468702 100644 --- a/scripts/runInstaller.mjs +++ b/scripts/runInstaller.mjs @@ -31,21 +31,28 @@ const BASE_DIR = join(dirname(fileURLToPath(import.meta.url)), ".."); const FILE_DIR = join(BASE_DIR, "dist", "Installer"); const ETAG_FILE = join(FILE_DIR, "etag.txt"); +function byArch(files) { + return files[process.arch] ?? files.default; +} + function getFilename() { switch (process.platform) { case "win32": - return "EquilotlCli.exe"; + return byArch({ + arm64: "EquilotlCli-arm64.exe", + default: "EquilotlCli.exe" + }); case "darwin": - switch (process.arch) { - case "x64": - return "EquilotlCli-x64"; - case "arm64": - return "EquilotlCli-arm64"; - default: - return "EquilotlCli-universal"; - } + return byArch({ + x64: "EquilotlCli-x64", + arm64: "EquilotlCli-arm64", + default: "EquilotlCli-universal" + }); case "linux": - return "EquilotlCli-linux"; + return byArch({ + arm64: "EquilotlCli-linux-arm64", + default: "EquilotlCli-Linux" + }); default: throw new Error("Unsupported platform: " + process.platform); }