aboutsummaryrefslogtreecommitdiff
path: root/commands
diff options
context:
space:
mode:
authorMinteck <contact@minteck.org>2022-02-12 20:42:32 +0100
committerMinteck <contact@minteck.org>2022-02-12 20:42:32 +0100
commitaf144579a7e52e55643dde00ecf2fe2f6c0d6620 (patch)
treee2dff56561850bec651b7fc1d2652bbf7648c03d /commands
parent02f3a0713f3c8b37d71032c09b8188d79bfc1456 (diff)
downloadtwilight-af144579a7e52e55643dde00ecf2fe2f6c0d6620.tar.gz
twilight-af144579a7e52e55643dde00ecf2fe2f6c0d6620.tar.bz2
twilight-af144579a7e52e55643dde00ecf2fe2f6c0d6620.zip
More fixes for Linux
Diffstat (limited to 'commands')
-rw-r--r--commands/remove.js1
1 files changed, 1 insertions, 0 deletions
diff --git a/commands/remove.js b/commands/remove.js
index 899aaa6..f60034a 100644
--- a/commands/remove.js
+++ b/commands/remove.js
@@ -70,6 +70,7 @@ module.exports = async (argv, reinstalling) => {
}
if (fs.existsSync(os.homedir() + "/.twilight/binaries/" + exec + ".bat")) fs.unlinkSync(os.homedir() + "/.twilight/binaries/" + exec + ".bat");
if (fs.existsSync(os.homedir() + "/.twilight/binaries/" + exec + ".sh")) fs.unlinkSync(os.homedir() + "/.twilight/binaries/" + exec + ".sh");
+ if (fs.existsSync(os.homedir() + "/.twilight/binaries/" + exec)) fs.unlinkSync(os.homedir() + "/.twilight/binaries/" + exec);
spinner.succeed("Removing package... done");