[skip ci] fix pnpm inject

This commit is contained in:
V 2024-01-25 07:22:34 +01:00 committed by GitHub
parent 4bb0db5066
commit 620c127b58
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

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