add linux and windows arm64
This commit is contained in:
parent
65bb5f34da
commit
b29bb29882
2 changed files with 31 additions and 21 deletions
25
README.md
25
README.md
|
|
@ -16,25 +16,28 @@ Our included plugins can be found [here](https://equicord.org/plugins).
|
||||||
|
|
||||||
Windows
|
Windows
|
||||||
|
|
||||||
- [GUI](https://github.com/Equicord/Equilotl/releases/latest/download/Equilotl.exe)
|
| | X64 | ARM64 |
|
||||||
- [CLI](https://github.com/Equicord/Equilotl/releases/latest/download/EquilotlCli.exe)
|
| --- | --- | --- |
|
||||||
|
| 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
|
MacOS
|
||||||
|
|
||||||
- [Universal GUI](https://github.com/Equicord/Equilotl/releases/latest/download/Equilotl.dmg)
|
| | Universal | X64 | ARM64 |
|
||||||
- [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)
|
| 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) |
|
||||||
- [Universal CLI](https://github.com/Equicord/Equilotl/releases/latest/download/EquilotlCli-universal)
|
| 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) |
|
||||||
- [X64 CLI](https://github.com/Equicord/Equilotl/releases/latest/download/EquilotlCli-x64)
|
|
||||||
- [ARM64 CLI](https://github.com/Equicord/Equilotl/releases/latest/download/EquilotlCli-arm64)
|
|
||||||
|
|
||||||
The CLI builds are plain binaries, so run `chmod +x <file>` after downloading.
|
The CLI builds are plain binaries, so run `chmod +x <file>` after downloading.
|
||||||
|
|
||||||
Linux
|
Linux
|
||||||
|
|
||||||
- [GUI](https://github.com/Equicord/Equilotl/releases/latest/download/Equilotl-x11)
|
| | X64 | ARM64 |
|
||||||
- [CLI](https://github.com/Equicord/Equilotl/releases/latest/download/EquilotlCli-Linux)
|
| --- | --- | --- |
|
||||||
- [AUR](https://aur.archlinux.org/packages?O=0&K=equicord)
|
| 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
|
```shell
|
||||||
bash -c "$(curl -sS https://raw.githubusercontent.com/Equicord/Equilotl/refs/heads/main/install.sh)"
|
bash -c "$(curl -sS https://raw.githubusercontent.com/Equicord/Equilotl/refs/heads/main/install.sh)"
|
||||||
|
|
|
||||||
|
|
@ -31,21 +31,28 @@ const BASE_DIR = join(dirname(fileURLToPath(import.meta.url)), "..");
|
||||||
const FILE_DIR = join(BASE_DIR, "dist", "Installer");
|
const FILE_DIR = join(BASE_DIR, "dist", "Installer");
|
||||||
const ETAG_FILE = join(FILE_DIR, "etag.txt");
|
const ETAG_FILE = join(FILE_DIR, "etag.txt");
|
||||||
|
|
||||||
|
function byArch(files) {
|
||||||
|
return files[process.arch] ?? files.default;
|
||||||
|
}
|
||||||
|
|
||||||
function getFilename() {
|
function getFilename() {
|
||||||
switch (process.platform) {
|
switch (process.platform) {
|
||||||
case "win32":
|
case "win32":
|
||||||
return "EquilotlCli.exe";
|
return byArch({
|
||||||
|
arm64: "EquilotlCli-arm64.exe",
|
||||||
|
default: "EquilotlCli.exe"
|
||||||
|
});
|
||||||
case "darwin":
|
case "darwin":
|
||||||
switch (process.arch) {
|
return byArch({
|
||||||
case "x64":
|
x64: "EquilotlCli-x64",
|
||||||
return "EquilotlCli-x64";
|
arm64: "EquilotlCli-arm64",
|
||||||
case "arm64":
|
default: "EquilotlCli-universal"
|
||||||
return "EquilotlCli-arm64";
|
});
|
||||||
default:
|
|
||||||
return "EquilotlCli-universal";
|
|
||||||
}
|
|
||||||
case "linux":
|
case "linux":
|
||||||
return "EquilotlCli-linux";
|
return byArch({
|
||||||
|
arm64: "EquilotlCli-linux-arm64",
|
||||||
|
default: "EquilotlCli-Linux"
|
||||||
|
});
|
||||||
default:
|
default:
|
||||||
throw new Error("Unsupported platform: " + process.platform);
|
throw new Error("Unsupported platform: " + process.platform);
|
||||||
}
|
}
|
||||||
|
|
|
||||||
Loading…
Add table
Reference in a new issue