From a9e67aa3400075ec4fb2fe6d59d006bae8981f0c Mon Sep 17 00:00:00 2001 From: Rie Takahashi Date: Wed, 5 Oct 2022 21:58:17 +0100 Subject: pnpm inject/uninject instead of patch/unpatch --- scripts/patcher/install.js | 4 ++-- scripts/patcher/uninstall.js | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) (limited to 'scripts') 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); } diff --git a/scripts/patcher/uninstall.js b/scripts/patcher/uninstall.js index 65b6ac0..015e878 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 run unpatch" + "sudo pnpm uninject" ); process.exit(1); } -- cgit