From 9aa2c9fe11895035c5add559e69f54ceba6411f5 Mon Sep 17 00:00:00 2001 From: Nikhil Narayana Date: Tue, 13 Sep 2022 21:42:11 -0700 Subject: [PATCH] feat: clear cache on dolphin update --- src/dolphin/install/installation.ts | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/dolphin/install/installation.ts b/src/dolphin/install/installation.ts index c13508424..7f04d9d99 100644 --- a/src/dolphin/install/installation.ts +++ b/src/dolphin/install/installation.ts @@ -195,6 +195,8 @@ export class DolphinInstallation { if (cleanInstall) { await this._uninstallDolphin(); + } else { + await this.clearCache(); // clear cache to avoid shader issues on new versions } switch (process.platform) {