[HTML5] Editor also persists cache.
This commit is contained in:
parent
e1ccd37e34
commit
f579b1d1f8
1 changed files with 3 additions and 2 deletions
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 a new issue