fix(installer): Fix patch conflict with newer pnpm versions (#44)

This commit is contained in:
megumin 2022-10-04 21:36:46 +01:00 committed by GitHub
parent dafbd39113
commit e010b2d63e
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
3 changed files with 6 additions and 6 deletions

View file

@ -56,7 +56,7 @@ async function install(installations) {
console.log("Failed to give write perms to Discord Flatpak.");
console.log(
"Try running this script as an administrator:",
"sudo pnpm patch"
"sudo pnpm run patch"
);
process.exit(1);
}
@ -71,7 +71,7 @@ async function install(installations) {
console.error("No write access to", selected.location);
console.error(
"Try running this script as an administrator:",
"sudo pnpm patch"
"sudo pnpm run patch"
);
process.exit(1);
}