mirror of
https://github.com/thelounge/thelounge
synced 2024-11-11 07:04:18 +00:00
Remove support for the lounge
CLI (which was replaced with thelounge
)
This commit is contained in:
parent
9ecb776760
commit
69a4207ea4
2 changed files with 0 additions and 8 deletions
|
@ -4,7 +4,6 @@
|
|||
"version": "2.7.1",
|
||||
"preferGlobal": true,
|
||||
"bin": {
|
||||
"lounge": "index.js",
|
||||
"thelounge": "index.js"
|
||||
},
|
||||
"repository": {
|
||||
|
|
|
@ -46,13 +46,6 @@ if (!Helper.config.public && !Helper.config.ldap.enable) {
|
|||
require("./install");
|
||||
require("./uninstall");
|
||||
|
||||
// TODO: Remove this when releasing The Lounge v3
|
||||
if (process.argv[1].endsWith(`${require("path").sep}lounge`)) {
|
||||
log.warn(`The ${colors.red("lounge")} CLI is ${colors.bold.red("deprecated")} and will be removed in v3.`);
|
||||
log.warn(`Use ${colors.green("thelounge")} instead.`);
|
||||
process.argv[1] = "thelounge";
|
||||
}
|
||||
|
||||
// `parse` expects to be passed `process.argv`, but we need to remove to give it
|
||||
// a version of `argv` that does not contain options already parsed by
|
||||
// `parseOptions` above.
|
||||
|
|
Loading…
Reference in a new issue