Misc folder issues

This commit is contained in:
MX 2023-07-06 02:42:05 +03:00
parent 45f3a77548
commit d9b95fd156
No known key found for this signature in database
GPG key ID: 7CCC66B7DBDD1C83

View file

@ -28,6 +28,14 @@ static void storage_move_to_sd_remove_region() {
if(storage_common_exists(storage, INT_PATH(".region_data"))) {
storage_common_remove(storage, INT_PATH(".region_data"));
}
if(storage_common_exists(storage, EXT_PATH("apps/Misc/totp.conf"))) {
storage_common_rename(
storage, EXT_PATH("apps/Misc/totp.conf"), EXT_PATH("authenticator/totp.conf"));
}
if(storage_common_exists(storage, EXT_PATH("apps/Misc/barcodegen.save"))) {
storage_common_remove(storage, EXT_PATH("apps/Misc/barcodegen.save"));
storage_common_remove(storage, EXT_PATH("apps/Misc"));
}
furi_record_close(RECORD_STORAGE);
}