Просмотр исходного кода

Exclude macOS from checking for changed files (#5270)

siegmund-heiss-ich 2 лет назад
Родитель
Сommit
27ee86f33b
1 измененных файлов с 1 добавлено и 1 удалено
  1. 1 1
      src/Ryujinx.Ava/Modules/Updater/Updater.cs

+ 1 - 1
src/Ryujinx.Ava/Modules/Updater/Updater.cs

@@ -741,7 +741,7 @@ namespace Ryujinx.Modules
             var files = Directory.EnumerateFiles(HomeDir); // All files directly in base dir.
 
             // Determine and exclude user files only when the updater is running, not when cleaning old files
-            if (_running)
+            if (_running && !OperatingSystem.IsMacOS())
             {
                 // Compare the loose files in base directory against the loose files from the incoming update, and store foreign ones in a user list.
                 var oldFiles = Directory.EnumerateFiles(HomeDir, "*", SearchOption.TopDirectoryOnly).Select(Path.GetFileName);