Clear GPU cache after every restart on Linux

This commit is contained in:
JannisX11 2024-05-23 22:00:40 +02:00
parent 47448aa360
commit d3d1869a9f

View File

@ -71,7 +71,7 @@ function initializeDesktopApp() {
} else {
$('#windows_window_menu').show()
}
if (Blockbench.platform == 'linux' && (Blockbench.hasFlag('after_update') || Blockbench.hasFlag('after_patch_update'))) {
if (Blockbench.platform == 'linux') {
// Clear GPU cache: https://github.com/JannisX11/blockbench/issues/1964
let gpu_cache_path = PathModule.join(app.getPath('userData'), 'GPUCache');
try {