mirror of
https://github.com/Ryujinx/Ryujinx.git
synced 2024-12-29 15:36:08 +00:00
Exclude macOS from checking for changed files (#5270)
This commit is contained in:
parent
f7ec310231
commit
27ee86f33b
|
@ -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);
|
||||
|
|
Loading…
Reference in a new issue