1
0

chore: Introduce Qodana static analysis configuration and apply minor code formatting and C# 12 collection expressions.

This commit is contained in:
2026-03-01 20:07:20 +01:00
parent ec575ab5f9
commit 15f9647f8a
24 changed files with 344 additions and 80 deletions

View File

@@ -19,7 +19,7 @@ public class ClipboardManager : IClipboardManager
try
{
string sessionType = Environment.GetEnvironmentVariable("XDG_SESSION_TYPE")?.ToLowerInvariant() ?? "";
ProcessStartInfo pInfo;
if (sessionType == "wayland")
{
@@ -42,7 +42,7 @@ public class ClipboardManager : IClipboardManager
RedirectStandardInput = true
};
}
var process = Process.Start(pInfo);
if (process != null)
{