Compare commits

3 Commits

Author SHA1 Message Date
33e7b7acfa fix undefined error when ctrl+c in interactive menu 2022-08-10 14:32:56 +02:00
f27193163d Update 'README.md' 2022-08-09 09:33:36 +02:00
bde8bc99b1 fix typo 2022-08-09 09:32:39 +02:00
2 changed files with 5 additions and 2 deletions

View File

@@ -7,7 +7,7 @@ This branch is a rewrite of the [previous in Java Developed branch](https://git.
### Requirements
- NodeJS >= 14
You can either: [Build a executeable](#build-a-executeable) or [Runing from Source](#running-from-source)
You can either: [Build a executeable](#build-a-executeable) or [Running from Source](#running-from-source)
### Build a executeable
@@ -43,7 +43,7 @@ pnpm run pkg
yarn run pkg
```
Your builded binary executeable should be in bin/
Your builded binary executeable should be located in `bin/`
### Running from Source

View File

@@ -16,6 +16,9 @@ const BACKUPS_DIRECTORY = path.join(CURRENT_FOLDER, 'backups');
const TEMP_DIR = path.join(CURRENT_FOLDER, '.temp');
const run = async (programArgs) => {
if (programArgs === undefined || programArgs.action === undefined) {
return;
}
const ACTION = programArgs.action.toLowerCase();
switch (ACTION) {
case 'exit':