[skip ci] fix pnpm inject
This commit is contained in:
parent
4bb0db5066
commit
620c127b58
|
@ -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…
Reference in a new issue