diff options
author | Minteck <contact@minteck.org> | 2022-02-12 20:42:32 +0100 |
---|---|---|
committer | Minteck <contact@minteck.org> | 2022-02-12 20:42:32 +0100 |
commit | af144579a7e52e55643dde00ecf2fe2f6c0d6620 (patch) | |
tree | e2dff56561850bec651b7fc1d2652bbf7648c03d /commands | |
parent | 02f3a0713f3c8b37d71032c09b8188d79bfc1456 (diff) | |
download | twilight-af144579a7e52e55643dde00ecf2fe2f6c0d6620.tar.gz twilight-af144579a7e52e55643dde00ecf2fe2f6c0d6620.tar.bz2 twilight-af144579a7e52e55643dde00ecf2fe2f6c0d6620.zip |
More fixes for Linux
Diffstat (limited to 'commands')
-rw-r--r-- | commands/remove.js | 1 |
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"); |