fix macos download

This commit is contained in:
thororen1234 2026-05-07 12:48:12 -04:00
parent 55cdf94320
commit 9c7e255c1e
No known key found for this signature in database
2 changed files with 10 additions and 2 deletions

View file

@ -21,7 +21,8 @@ Windows
MacOS
- [GUI](https://github.com/Equicord/Equilotl/releases/latest/download/Equilotl.MacOS.zip)
- [X64 GUI](https://github.com/Equicord/Equilotl/releases/latest/download/Equilotl-darwin-x64.zip)
- [ARM64 GUI](https://github.com/Equicord/Equilotl/releases/latest/download/Equilotl-darwin-arm64.zip)
Linux

View file

@ -38,7 +38,14 @@ function getFilename() {
case "win32":
return "EquilotlCli.exe";
case "darwin":
return "Equilotl.MacOS.zip";
switch (process.arch) {
case "x64":
return "Equilotl-darwin-x64.zip";
case "arm64":
return "Equilotl-darwin-arm64.zip";
default:
throw new Error("Unsupported macOS architecture: " + process.arch);
}
case "linux":
return "EquilotlCli-linux";
default: