* Feature #307 : New windows setting to use cover art as folder's icon. Incomplete. Need to add to avalonia settings
* Interop refactor
This commit is contained in:
parent
aea8c11dc4
commit
1524d558a4
33 changed files with 1867 additions and 1794 deletions
|
|
@ -18,7 +18,7 @@ namespace CrossPlatformClientExe
|
|||
public static Func<string, bool> MatchesOS { get; }
|
||||
= IsWindows ? a => Path.GetFileName(a).StartsWithInsensitive("win")
|
||||
: IsLinux ? a => Path.GetFileName(a).StartsWithInsensitive("linux")
|
||||
: IsMacOs ? a => Path.GetFileName(a).StartsWithInsensitive("mac") || a.StartsWithInsensitive("osx")
|
||||
: IsMacOs ? a => Path.GetFileName(a).StartsWithInsensitive("mac") || Path.GetFileName(a).StartsWithInsensitive("osx")
|
||||
: _ => false;
|
||||
|
||||
private IInteropFunctions InteropFunctions { get; } = new NullInteropFunctions();
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue