mirror of
https://github.com/godotengine/godot.git
synced 2024-11-24 13:12:42 +00:00
[HTML5] Editor also persists cache.
This commit is contained in:
parent
e1ccd37e34
commit
f579b1d1f8
5
misc/dist/html/editor.html
vendored
5
misc/dist/html/editor.html
vendored
@ -197,7 +197,8 @@
|
||||
}
|
||||
Promise.all([
|
||||
deleteDB("/home/web_user/projects"),
|
||||
deleteDB("/home/web_user/.config")
|
||||
deleteDB("/home/web_user/.config"),
|
||||
deleteDB("/home/web_user/.cache"),
|
||||
]).then(function(results) {
|
||||
alert("Done.");
|
||||
}).catch(function (err) {
|
||||
@ -259,7 +260,7 @@
|
||||
|
||||
function startEditor(zip) {
|
||||
const INDETERMINATE_STATUS_STEP_MS = 100;
|
||||
const persistentPaths = ['/home/web_user/.config', '/home/web_user/projects'];
|
||||
const persistentPaths = ['/home/web_user/.config', '/home/web_user/.cache', '/home/web_user/projects'];
|
||||
|
||||
var editorCanvas = document.getElementById('editor-canvas');
|
||||
var gameCanvas = document.getElementById('game-canvas');
|
||||
|
Loading…
Reference in New Issue
Block a user