Update workbox, add manual cache clearing

This commit is contained in:
JannisX11 2021-04-14 21:19:31 +02:00
parent f7edc3de3b
commit f540392626
4 changed files with 497 additions and 395 deletions

View File

@ -692,6 +692,13 @@ const MenuBar = {
}
}},
{name: 'menu.help.developer.cache_reload', id: 'cache_reload', icon: 'cached', condition: !isApp, click: () => {
if('caches' in window){
caches.keys().then((names) => {
names.forEach(async (name) => {
await caches.delete(name)
})
})
}
window.location.reload(true)
}},
'reload',

View File

@ -160,7 +160,7 @@
"message.unsaved_textures.title": "Unsaved Textures",
"message.unsaved_textures.message": "Your model has unsaved textures. Make sure to save them and paste them into your resource pack in the correct folder.",
"message.model_clipping.title": "Model Too Large",
"message.model_clipping.message": "Your model contains %0 cubes that are larger than the 3x3x3 limit allowed by Minecraft. This model will not work in Minecraft.",
"message.model_clipping.message": "Your model contains %0 cubes that are larger than the 3x3x3 blocks limit allowed by Minecraft. This model will not work in Minecraft.",
"message.invalid_builtin_parent.title": "Invalid Built-in Parent",
"message.invalid_builtin_parent.message": "The link to the invalid parent model '%0' was removed in order to export a valid model.",
"message.cleared_blank_faces.title": "Blank Faces",
@ -536,7 +536,7 @@
"settings.full_grid": "Precise Block Grid",
"settings.full_grid.desc": "Show pixel-precise block grid",
"settings.large_box": "Large Box",
"settings.large_box.desc": "Show 3x3 block boundaries",
"settings.large_box.desc": "Show 3x3x3 block boundaries",
"settings.display_grid": "Display Mode",
"settings.display_grid.desc": "Show grid in display mode",
"settings.painting_grid": "Painting Grid",

879
package-lock.json generated

File diff suppressed because it is too large Load Diff

View File

@ -102,7 +102,7 @@
"electron-notarize": "^1.0.0",
"webpack": "^5.21.2",
"webpack-cli": "^4.5.0",
"workbox-build": "^6.1.0"
"workbox-build": "^6.1.5"
},
"dependencies": {
"electron-updater": "^4.3.1"