summaryrefslogtreecommitdiffstats
path: root/platform/web/export/export_plugin.cpp
diff options
context:
space:
mode:
authorRémi Verschelde <remi@verschelde.fr>2024-09-17 12:39:29 +0200
committerGitHub <noreply@github.com>2024-09-17 12:39:29 +0200
commit6225d3982604829084c2c92a2ff87fce0ca6ed8b (patch)
tree900076c19513ab8e66f35dd4f11151cdb17e069e /platform/web/export/export_plugin.cpp
parentd40fc50f086d14583c7cc979ed4e5363ac223717 (diff)
parent3a2804a7e770ea6f383355815282b77b90c43863 (diff)
downloadredot-engine-6225d3982604829084c2c92a2ff87fce0ca6ed8b.tar.gz
Merge pull request #97082 from akien-mga/4.3-cherrypicks
[4.3] Cherry-picks for the 4.3 branch (future 4.3.1) - 1st batch
Diffstat (limited to 'platform/web/export/export_plugin.cpp')
-rw-r--r--platform/web/export/export_plugin.cpp2
1 files changed, 2 insertions, 0 deletions
diff --git a/platform/web/export/export_plugin.cpp b/platform/web/export/export_plugin.cpp
index d83e465e8e..d8c1b6033d 100644
--- a/platform/web/export/export_plugin.cpp
+++ b/platform/web/export/export_plugin.cpp
@@ -242,6 +242,7 @@ Error EditorExportPlatformWeb::_build_pwa(const Ref<EditorExportPreset> &p_prese
}
cache_files.push_back(name + ".worker.js");
cache_files.push_back(name + ".audio.worklet.js");
+ cache_files.push_back(name + ".audio.position.worklet.js");
replaces["___GODOT_CACHE___"] = Variant(cache_files).to_json_string();
// Heavy files that are cached on demand.
@@ -835,6 +836,7 @@ Error EditorExportPlatformWeb::_export_project(const Ref<EditorExportPreset> &p_
DirAccess::remove_file_or_error(basepath + ".js");
DirAccess::remove_file_or_error(basepath + ".worker.js");
DirAccess::remove_file_or_error(basepath + ".audio.worklet.js");
+ DirAccess::remove_file_or_error(basepath + ".audio.position.worklet.js");
DirAccess::remove_file_or_error(basepath + ".service.worker.js");
DirAccess::remove_file_or_error(basepath + ".pck");
DirAccess::remove_file_or_error(basepath + ".png");