chore: Introduce Qodana static analysis configuration and apply minor code formatting and C# 12 collection expressions.
This commit is contained in:
@@ -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)
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user