mirror of
https://github.com/tomasriveral/NoteWrapper.git
synced 2026-10-10 17:03:04 +02:00
Added a way to configure settings from the app
This commit is contained in:
1 parent
929b9ab10e
commit
60f5be3405
1 file changed
+2
-1
@@ -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