Comment and reorder the files creation.
This commit is contained in:
parent
57ac916ccd
commit
029c912bf0
|
@ -127,10 +127,15 @@ bool filesystem_init(bool create_allowed, bool force_create) {
|
|||
if (res != FR_OK) {
|
||||
return false;
|
||||
}
|
||||
make_empty_file(&vfs_fat->fatfs, "/.metadata_never_index");
|
||||
make_empty_file(&vfs_fat->fatfs, "/.Trashes");
|
||||
make_empty_file(&vfs_fat->fatfs, "/.Trash-1000");
|
||||
make_empty_file(&vfs_fat->fatfs, "/.fseventsd/no_log");
|
||||
make_empty_file(&vfs_fat->fatfs, "/.metadata_never_index");
|
||||
|
||||
// Prevent storing trash on all OSes.
|
||||
make_empty_file(&vfs_fat->fatfs, "/.Trashes"); // MacOS
|
||||
make_empty_file(&vfs_fat->fatfs, "/.Trash-1000"); // Linux, XDG trash spec:
|
||||
// https://specifications.freedesktop.org/trash-spec/trashspec-latest.html
|
||||
|
||||
|
||||
#if CIRCUITPY_OS_GETENV
|
||||
make_empty_file(&vfs_fat->fatfs, "/settings.toml");
|
||||
#endif
|
||||
|
|
Loading…
Reference in New Issue