Просмотр исходного кода

1.4.5 - Fix .nested folder if running Hard Nested
Closes #8

AloneLiberty 2 лет назад
Родитель
Сommit
3a1bd745e6
2 измененных файлов с 3 добавлено и 1 удалено
  1. 1 1
      mifare_nested_i.h
  2. 2 0
      mifare_nested_worker.c

+ 1 - 1
mifare_nested_i.h

@@ -21,7 +21,7 @@
 #include <gui/modules/variable_item_list.h>
 #include "mifare_nested_icons.h"
 
-#define NESTED_VERSION_APP "1.4.4"
+#define NESTED_VERSION_APP "1.4.5"
 #define NESTED_GITHUB_LINK "https://github.com/AloneLiberty/FlipperNested"
 #define NESTED_RECOVER_KEYS_GITHUB_LINK "https://github.com/AloneLiberty/FlipperNestedRecovery"
 #define NESTED_NONCE_FORMAT_VERSION "3"

+ 2 - 0
mifare_nested_worker.c

@@ -861,6 +861,8 @@ void mifare_nested_worker_collect_nonces_hard(MifareNestedWorker* mifare_nested_
         FURI_LOG_I(TAG, "Found Mifare Classic Mini tag");
     }
 
+    furi_string_set(folder_path, NESTED_FOLDER);
+    storage_common_mkdir(storage, furi_string_get_cstr(folder_path));
     mifare_nested_worker_get_hardnested_folder_path(&data, folder_path);
     storage_common_mkdir(storage, furi_string_get_cstr(folder_path));
     furi_string_free(folder_path);