Migrate to Avalonia (#1220)

This commit is contained in:
Oleksii Holub
2024-04-27 04:17:46 +03:00
committed by GitHub
parent 74f99b4e59
commit b9c1c47474
89 changed files with 2467 additions and 2810 deletions

View File

@@ -6,10 +6,8 @@ internal static class ProcessEx
{
public static void StartShellExecute(string path)
{
using var process = new Process
{
StartInfo = new ProcessStartInfo { FileName = path, UseShellExecute = true }
};
using var process = new Process();
process.StartInfo = new ProcessStartInfo { FileName = path, UseShellExecute = true };
process.Start();
}