Skip to content

Commit 762c18c

Browse files
committed
storing file
1 parent 774e268 commit 762c18c

1 file changed

Lines changed: 2 additions & 1 deletion

File tree

pigeon.gd

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -35,6 +35,7 @@ func _on_request_completed(result: int, response_code: int, _headers: PackedStri
3535
print("You are using the latest version.")
3636
else:
3737
print("Download complete, Installing...")
38-
print(body.get_string_from_utf8())
38+
var file = FileAccess.open(TEMP_PCK_PATH, FileAccess.WRITE)
39+
file.store_var(body)
3940
else:
4041
print("Download failed with result: " + str(result) + " and response code: " + str(response_code))

0 commit comments

Comments
 (0)