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
|
||||
|
||||
- [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 <file>` 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)"
|
||||
|
|
|
|||
|
|
@ -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);
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue