* Fix typo + Fix deleting from old dir * Avoid double enumeration * Break when parentDir is found * Fix deleting non subdirectory mods * Typo
33 lines
670 B
C#
33 lines
670 B
C#
using Ryujinx.Ava.UI.ViewModels;
|
|
using System.IO;
|
|
|
|
namespace Ryujinx.Ava.UI.Models
|
|
{
|
|
public class ModModel : BaseModel
|
|
{
|
|
private bool _enabled;
|
|
|
|
public bool Enabled
|
|
{
|
|
get => _enabled;
|
|
set
|
|
{
|
|
_enabled = value;
|
|
OnPropertyChanged();
|
|
}
|
|
}
|
|
|
|
public bool InSd { get; }
|
|
public string Path { get; }
|
|
public string Name { get; }
|
|
|
|
public ModModel(string path, string name, bool enabled, bool inSd)
|
|
{
|
|
Path = path;
|
|
Name = name;
|
|
Enabled = enabled;
|
|
InSd = inSd;
|
|
}
|
|
}
|
|
}
|