[HTML5] Editor also persists cache.
This commit is contained in:
parent
666e8ca387
commit
b4b1df613e
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([
|
Promise.all([
|
||||||
deleteDB("/home/web_user/projects"),
|
deleteDB("/home/web_user/projects"),
|
||||||
deleteDB("/home/web_user/.config")
|
deleteDB("/home/web_user/.config"),
|
||||||
|
deleteDB("/home/web_user/.cache"),
|
||||||
]).then(function(results) {
|
]).then(function(results) {
|
||||||
alert("Done.");
|
alert("Done.");
|
||||||
}).catch(function (err) {
|
}).catch(function (err) {
|
||||||
|
@ -260,7 +261,7 @@
|
||||||
function startEditor(zip) {
|
function startEditor(zip) {
|
||||||
|
|
||||||
const INDETERMINATE_STATUS_STEP_MS = 100;
|
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 editorCanvas = document.getElementById('editor-canvas');
|
||||||
var gameCanvas = document.getElementById('game-canvas');
|
var gameCanvas = document.getElementById('game-canvas');
|
||||||
|
|
Loading…
Reference in a new issue