diff --git a/README.md b/README.md index 9d4992b1a..ddb34ecf9 100644 --- a/README.md +++ b/README.md @@ -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 diff --git a/scripts/runInstaller.mjs b/scripts/runInstaller.mjs index 94c03dd4a..0c124b170 100644 --- a/scripts/runInstaller.mjs +++ b/scripts/runInstaller.mjs @@ -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: