initial changes to support avalonia.native backend for osx.
MODIFY
Directory.Build.targets
Directory.Build.targets
<Project>
<PropertyGroup>
- <AvaloniaVersion>0.6.2-build6071-beta</AvaloniaVersion>
+ <AvaloniaVersion>0.6.2-build6326-beta</AvaloniaVersion>
<AvaloniaBehaviorsVersion>0.6.2-build520-alpha</AvaloniaBehaviorsVersion>
</PropertyGroup>

MODIFY
WalletWasabi.Dependencies/AvalonStudio.Shell
WalletWasabi.Dependencies/AvalonStudio.Shell
-Subproject commit f258ee16a2a38956d8750cd025af35e03b485866
+Subproject commit 406b69757ffc18f3744b8ea3d31b0129677c6a8d

MODIFY
WalletWasabi.Gui/Program.cs
WalletWasabi.Gui/Program.cs
@@ -67,8 +67,19 @@ namespace WalletWasabi.Gui
}
private static AppBuilder BuildAvaloniaApp()
+ {
+ if(RuntimeInformation.IsOSPlatform(OSPlatform.Windows))
{
return AppBuilder.Configure<App>().UsePlatformDetect().UseReactiveUI();
}
+ else if (RuntimeInformation.IsOSPlatform(OSPlatform.OSX))
+ {
+ return AppBuilder.Configure<App>().UseAvaloniaNative().UseSkia().UseReactiveUI();
+ }
+ else
+ {
+ return AppBuilder.Configure<App>().UsePlatformDetect().UseReactiveUI();
+ }
+ }
}
}

MODIFY
WalletWasabi.Gui/WalletWasabi.Gui.csproj
WalletWasabi.Gui/WalletWasabi.Gui.csproj
<ItemGroup>
<PackageReference Include="Avalonia.Desktop" />
+ <PackageReference Include="Avalonia.Native" Version="0.7.0-build300038" />
</ItemGroup>
<ItemGroup>

initial changes to support avalonia.native backend for osx.