[skip ci] fix pnpm inject

main
V 10 months ago committed by GitHub
parent 4bb0db5066
commit 620c127b58
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

@ -35,11 +35,11 @@ const ETAG_FILE = join(FILE_DIR, "etag.txt");
function getFilename() { function getFilename() {
switch (process.platform) { switch (process.platform) {
case "win32": case "win32":
return "VencordInstaller.exe"; return "VencordInstallerCli.exe";
case "darwin": case "darwin":
return "VencordInstaller.MacOS.zip"; return "VencordInstaller.MacOS.zip";
case "linux": case "linux":
return "VencordInstaller-" + (process.env.WAYLAND_DISPLAY ? "wayland" : "x11"); return "VencordInstallerCli-linux";
default: default:
throw new Error("Unsupported platform: " + process.platform); throw new Error("Unsupported platform: " + process.platform);
} }

Loading…
Cancel
Save