mirror of
https://github.com/JannisX11/blockbench.git
synced 2025-02-17 16:20:13 +08:00
Clear GPU cache after every restart on Linux
This commit is contained in:
parent
47448aa360
commit
d3d1869a9f
@ -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 {
|
||||
|
Loading…
Reference in New Issue
Block a user