Skip to content

Commit

Permalink
dxvk: do not error if D3D dlls are missing already
Browse files Browse the repository at this point in the history
Implements #429
  • Loading branch information
apprehensions committed Aug 3, 2024
1 parent 16b654d commit 30d23cd
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions dxvk/dxvk.go
Original file line number Diff line number Diff line change
Expand Up @@ -37,6 +37,9 @@ func Remove(pfx *wine.Prefix) error {
slog.Info("Removing DXVK overriden Wine DLL", "path", p)

if err := os.Remove(p); err != nil {
if errors.Is(err, os.ErrNotExist) {

Check failure on line 40 in dxvk/dxvk.go

View workflow job for this annotation

GitHub Actions / build

undefined: errors
continue
}
return err
}
}
Expand Down

0 comments on commit 30d23cd

Please sign in to comment.