forked from Mirror/Ryujinx
Exclude macOS from checking for changed files (#5270)
This commit is contained in:
parent
f7ec310231
commit
27ee86f33b
1 changed files with 1 additions and 1 deletions
|
@ -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);
|
||||
|
|
Reference in a new issue