mirror of
https://github.com/RfidResearchGroup/proxmark3.git
synced 2025-08-20 21:33:47 -07:00
Edit and Updates
Changed from settings to preferences. Added UTF8 Banner support Added Show/Edit draft
This commit is contained in:
parent
1900f6b16a
commit
c9bd43c4b6
9 changed files with 646 additions and 237 deletions
|
@ -38,7 +38,7 @@
|
|||
// this define is needed for scandir/alphasort to work
|
||||
#define _GNU_SOURCE
|
||||
#include "fileutils.h"
|
||||
#include "settings.h"
|
||||
#include "preferences.h"
|
||||
|
||||
#include <dirent.h>
|
||||
#include <ctype.h>
|
||||
|
@ -427,7 +427,7 @@ int saveFileJSON(const char *preferredName, JSONFileType ftype, uint8_t *data, s
|
|||
}
|
||||
break;
|
||||
case jsfSettings:
|
||||
settings_save_callback (root);
|
||||
preferences_save_callback (root);
|
||||
break;
|
||||
default:
|
||||
break;
|
||||
|
@ -868,7 +868,7 @@ int loadFileJSON(const char *preferredName, void *data, size_t maxdatalen, size_
|
|||
*datalen = sptr;
|
||||
}
|
||||
if (!strcmp(ctype,"settings")) {
|
||||
settings_load_callback (root);
|
||||
preferences_load_callback (root);
|
||||
}
|
||||
PrintAndLogEx(SUCCESS, "loaded from JSON file " _YELLOW_("%s"), fileName);
|
||||
out:
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue