Improved documentation, added precautions to te json generation and loading specially for windows

This commit is contained in:
Pixelguy14
2026-03-03 14:36:39 -06:00
parent df94d50954
commit 3da0dcaae9
15 changed files with 1500 additions and 85 deletions
+2 -10
View File
@@ -799,11 +799,7 @@ end
end
# Save the updated registry
lock(REGISTRY_LOCK) do
open(reg_path, "w") do f
JSON.print(f, registry, 4)
end
end
save_registry(reg_path, registry)
@info "Registry updated with mask: $(final_mask_name)"
@@ -876,11 +872,7 @@ end
if !isempty(new_folders) || !isempty(removed_folders)
println("Registry changed, saving...")
lock(REGISTRY_LOCK) do
open(reg_path, "w") do f
JSON.print(f, registry, 4)
end
end
save_registry(reg_path, registry)
end
all_folders = sort(collect(keys(registry)), lt=natural)