Rebrand app as RanaZe Step 3 Trainer
This commit is contained in:
@@ -163,7 +163,7 @@ func _on_profile_completed(result: int, response_code: int, _headers: PackedStri
|
||||
|
||||
|
||||
func _save_archive(content: String) -> void:
|
||||
var filename := "medmind-account-export-%s.json" % Time.get_date_string_from_system()
|
||||
var filename := "ranaze-account-export-%s.json" % Time.get_date_string_from_system()
|
||||
if OS.has_feature("web"):
|
||||
var encoded := Marshalls.raw_to_base64(content.to_utf8_buffer())
|
||||
JavaScriptBridge.eval("(function(){const a=document.createElement('a');a.href='data:application/json;base64,%s';a.download=%s;document.body.appendChild(a);a.click();a.remove();})();" % [encoded, JSON.stringify(filename)], true)
|
||||
|
||||
Reference in New Issue
Block a user