Skip to content

Commit

Permalink
feat: clear cache on dolphin update
Browse files Browse the repository at this point in the history
  • Loading branch information
NikhilNarayana committed Sep 14, 2022
1 parent 936c9ff commit 9aa2c9f
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions src/dolphin/install/installation.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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) {
Expand Down

0 comments on commit 9aa2c9f

Please sign in to comment.