move iclass_dump.bin in resources/
This commit is contained in:
@@ -405,7 +405,7 @@ out:
|
||||
int loadFile_safe(const char *preferredName, const char *suffix, void **pdata, size_t *datalen) {
|
||||
|
||||
char *path;
|
||||
int res = searchFile(&path, "", preferredName, suffix);
|
||||
int res = searchFile(&path, RESOURCES_SUBDIR, preferredName, suffix);
|
||||
if (res != PM3_SUCCESS) {
|
||||
return PM3_EFILE;
|
||||
}
|
||||
|
||||
@@ -30,6 +30,7 @@
|
||||
#define DICTIONARIES_SUBDIR "dictionaries/"
|
||||
#define LUA_LIBRARIES_SUBDIR "lualibs/"
|
||||
#define LUA_SCRIPTS_SUBDIR "luascripts/"
|
||||
#define RESOURCES_SUBDIR "resources/"
|
||||
|
||||
#define PACKED __attribute__((packed))
|
||||
|
||||
|
||||
Reference in New Issue
Block a user