Use new XDG folders to dehardcode paths
This commit is contained in:
parent
32c12a92a5
commit
6e3f2f44af
15 changed files with 58 additions and 61 deletions
|
|
@ -319,7 +319,7 @@ int EditorExportPlatformJavaScript::get_device_count() const {
|
|||
|
||||
Error EditorExportPlatformJavaScript::run(const Ref<EditorExportPreset> &p_preset, int p_device, int p_debug_flags) {
|
||||
|
||||
String path = EditorSettings::get_singleton()->get_settings_dir() + "/tmp/tmp_export.html";
|
||||
String path = EditorSettings::get_singleton()->get_cache_dir().plus_file("tmp_export.html");
|
||||
Error err = export_project(p_preset, true, path, p_debug_flags);
|
||||
if (err) {
|
||||
return err;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue