-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
feat: Currently removed online features.
- Loading branch information
1 parent
ea082f8
commit e3c18cc
Showing
8 changed files
with
36 additions
and
17 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,5 +1,28 @@ | ||
import Jsoning from "jsoning"; | ||
import getLocalizationJson from "../lib/localization/main"; | ||
import inquirer from "inquirer"; | ||
import { showMainMenu } from "../menu/main"; | ||
|
||
export default async function main(config: Jsoning) { | ||
console.log(" ⚠️ UNSUPPORTED "); | ||
const localization = await getLocalizationJson(config); | ||
const localizationSettings = await localization.get("settings"); | ||
const localizationMenu = await localization.get("menuOptions"); | ||
|
||
console.log(localizationSettings.unsupported); | ||
|
||
return inquirer | ||
.prompt([ | ||
{ | ||
name: "backToMenu", | ||
type: "confirm", | ||
message: localizationMenu.backToMenu + "?", | ||
}, | ||
]) | ||
.then((options) => { | ||
if (options.backToMenu) { | ||
return showMainMenu(config); | ||
} else { | ||
process.exit(0); | ||
} | ||
}); | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters