Refresh data management dialogs

This commit is contained in:
Alexander Sellite 2026-09-02 07:19:25 -04:00
parent 3a61056ce5
commit cab313d69d
7 changed files with 720 additions and 103 deletions

View file

@ -361,7 +361,10 @@ func _assert_legacy_data_manifest(parent: String) -> void:
file.close()
var legacy_data_root := PlayerDataRoot.new()
root.add_child(legacy_data_root)
assert(legacy_data_root.use_existing_root(legacy_root))
# This legacy-manifest check must never replace the user's persisted data
# folder selection when the validation is run directly outside the isolated
# runner. Activate the fixture only for this process instead.
assert(legacy_data_root.activate_process_root(legacy_root))
assert(legacy_data_root.root_id == legacy_id)
assert(FileAccess.file_exists(legacy_path))
var canonical_path: String = legacy_root.path_join(