mirror of
https://github.com/tomasriveral/NoteWrapper.git
synced 2026-08-11 18:18:36 +02:00
Added a way to configure settings from the app
This commit is contained in:
@@ -297,7 +297,8 @@ int main(int argc, char *argv[]) {
|
||||
} else if (strcmp(vaultSelected,"Create a new vault") == 0) {
|
||||
|
||||
} else if (strcmp(vaultSelected,"Settings") == 0) {
|
||||
//(TODO LATER) add a way to change the config.json from the app or at least show all the options
|
||||
// (TODO LATER) add a way to modify the path to config.json
|
||||
openNvim("./config.json", debug);
|
||||
} else if (strcmp(vaultSelected,"Quit (Ctrl+C)") == 0) {
|
||||
if (debug) {printf("\e[0;32m[DEBUG]\e[0m The program was exited.\n");}
|
||||
shouldExit = 1;
|
||||
|
||||
Reference in New Issue
Block a user