aboutsummaryrefslogtreecommitdiff
path: root/scripts/patcher/install.js
diff options
context:
space:
mode:
authorRie Takahashi <megumin.bakaretsurie@gmail.com>2022-10-05 21:58:17 +0100
committerRie Takahashi <megumin.bakaretsurie@gmail.com>2022-10-05 21:58:17 +0100
commita9e67aa3400075ec4fb2fe6d59d006bae8981f0c (patch)
tree78a1e15e54d86261f746f69fff569c5e3778bc47 /scripts/patcher/install.js
parent25fcc528eaf154bef3aa6eff3bb842f17fe28163 (diff)
downloadVencord-a9e67aa3400075ec4fb2fe6d59d006bae8981f0c.tar.gz
Vencord-a9e67aa3400075ec4fb2fe6d59d006bae8981f0c.tar.bz2
Vencord-a9e67aa3400075ec4fb2fe6d59d006bae8981f0c.zip
pnpm inject/uninject instead of patch/unpatch
Diffstat (limited to 'scripts/patcher/install.js')
-rw-r--r--scripts/patcher/install.js4
1 files changed, 2 insertions, 2 deletions
diff --git a/scripts/patcher/install.js b/scripts/patcher/install.js
index 4ef55bc..f423ce9 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 run patch"
+ "sudo pnpm inject"
);
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 run patch"
+ "sudo pnpm inject"
);
process.exit(1);
}