79091444

Date: 2024-10-15 19:23:16
Score: 1.5
Natty:
Report link

The only way I found to copy the db into the user dir (godot 4.3)

var db_file_content : PackedByteArray  = FileAccess.get_file_as_bytes("res://data/data.db")
var file : FileAccess = FileAccess.open("user://data.db",FileAccess.WRITE)
file.store_buffer(db_file_content)
file.close()
Reasons:
  • Low length (0.5):
  • Has code block (-0.5):
  • Unregistered user (0.5):
  • Low reputation (1):
Posted by: Luc