aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authormegumin <megumin.bakaretsurie@gmail.com>2022-10-04 21:36:46 +0100
committerGitHub <noreply@github.com>2022-10-04 22:36:46 +0200
commite010b2d63e5c062d038956a332c159ea48ea960a (patch)
tree57098677f7e5cbd0cc8b6ed9e40d823a01b20e8a
parentdafbd39113c292c4e02aec56bdac9225eb472a0a (diff)
downloadVencord-e010b2d63e5c062d038956a332c159ea48ea960a.tar.gz
Vencord-e010b2d63e5c062d038956a332c159ea48ea960a.tar.bz2
Vencord-e010b2d63e5c062d038956a332c159ea48ea960a.zip
fix(installer): Fix patch conflict with newer pnpm versions (#44)
-rw-r--r--README.md6
-rw-r--r--scripts/patcher/install.js4
-rw-r--r--scripts/patcher/uninstall.js2
3 files changed, 6 insertions, 6 deletions
diff --git a/README.md b/README.md
index 10db1e6..4830d1d 100644
--- a/README.md
+++ b/README.md
@@ -36,7 +36,7 @@ Don't close your terminal just yet!
Now to patch vencord into your Discord client, run the following command and follow the interactive prompt.
```sh
-pnpm patch
+pnpm run patch
```
Now fully close Discord. Start and confirm Vencord successfully installed by checking if you have a new Vencord section in Settings.
@@ -45,7 +45,7 @@ If you ever need to get back to the Vencord folder, just open a new terminal and
All plugins are disabled by default, so your first step should be opening Settings and enabling the plugins you want.
-You can unpatch Vencord using `pnpm unpatch`
+You can unpatch Vencord using `pnpm run unpatch`
## Installing on Browser
@@ -59,7 +59,7 @@ You will find the built extension at dist/extension.zip. Now just install this e
## Contributing
[contribute]: CONTRIBUTING.md
-[contribute] [contribute] [contribute] [contribute] [contribute] [contribute] [contribute] [contribute] [contribute] [contribute] [contribute] [contribute] [contribute] [contribute] [contribute] [contribute] [contribute] [contribute] [contribute] [contribute] [contribute] [contribute] [contribute] [contribute] [contribute] [contribute] [contribute] [contribute] [contribute] [contribute] [contribute] [contribute] [contribute] [contribute] [contribute] [contribute] [contribute] [contribute] [contribute] [contribute] [contribute] [contribute] [contribute] [contribute] [contribute] [contribute] [contribute] [contribute] [contribute] [contribute] [contribute] [contribute] [contribute] [contribute] [contribute] [contribute] [contribute] [contribute] [contribute] [contribute] [contribute] [contribute] [contribute] [contribute] [contribute] [contribute] [contribute] [contribute] [contribute] [contribute] [contribute] [contribute]
+[contribute] [contribute] [contribute] [contribute] [contribute] [contribute] [contribute] [contribute] [contribute] [contribute] [contribute] [contribute] [contribute] [contribute] [contribute] [contribute] [contribute] [contribute] [contribute] [contribute] [contribute] [contribute] [contribute] [contribute] [contribute] [contribute] [contribute] [contribute] [contribute] [contribute] [contribute] [contribute] [contribute] [contribute] [contribute] [contribute] [contribute] [contribute] [contribute] [contribute] [contribute] [contribute] [contribute] [contribute] [contribute] [contribute] [contribute] [contribute] [contribute] [contribute] [contribute] [contribute] [contribute] [contribute] [contribute] [contribute] [contribute] [contribute] [contribute] [contribute] [contribute] [contribute] [contribute] [contribute] [contribute] [contribute] [contribute] [contribute] [contribute] [contribute] [contribute] [contribute]
## Join
[join]: https://discord.gg/D9uwnFnqmd
diff --git a/scripts/patcher/install.js b/scripts/patcher/install.js
index 42ba47f..4ef55bc 100644
--- a/scripts/patcher/install.js
+++ b/scripts/patcher/install.js
@@ -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);
}
diff --git a/scripts/patcher/uninstall.js b/scripts/patcher/uninstall.js
index c470c64..65b6ac0 100644
--- a/scripts/patcher/uninstall.js
+++ b/scripts/patcher/uninstall.js
@@ -42,7 +42,7 @@ async function uninstall(installations) {
console.error("No write access to", selected.location);
console.error(
"Try running this script as an administrator:",
- "sudo pnpm unpatch"
+ "sudo pnpm run unpatch"
);
process.exit(1);
}