mirror of
https://github.com/BeyondDimension/SteamTools.git
synced 2026-10-22 01:16:17 +08:00
add macOS igonre, fix macOS notifyIcon
This commit is contained in:
+4
-1
@@ -14,9 +14,12 @@ namespace System.Application.Services.Implementation
|
||||
return string.Empty;
|
||||
}
|
||||
|
||||
public const string kate = "kate";
|
||||
public const string vi = "vi";
|
||||
|
||||
public string? GetFileName(TextReaderProvider provider)
|
||||
{
|
||||
return null;
|
||||
return vi;
|
||||
}
|
||||
|
||||
public void SetBootAutoStart(bool isAutoStart, string name)
|
||||
|
||||
@@ -98,7 +98,7 @@ namespace System.Application.UI
|
||||
new LinuxTrayIcon<TContextMenu>(ToolTipText, IconPath, ContextMenu));
|
||||
}
|
||||
, canTok.Token, TaskCreationOptions.AttachedToParent, TaskScheduler.Default);
|
||||
}, MainThreadDesktop.DispatcherPriority.MaxValue);
|
||||
}, MainThreadDesktop.DispatcherPriority.MaxValue, true);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
+1
-1
@@ -1,7 +1,7 @@
|
||||
<Project Sdk="Microsoft.NET.Sdk">
|
||||
|
||||
<PropertyGroup>
|
||||
<TargetFramework>net5.0</TargetFramework>
|
||||
<TargetFramework>netstandard2.1</TargetFramework>
|
||||
<RootNamespace>System</RootNamespace>
|
||||
</PropertyGroup>
|
||||
|
||||
|
||||
Reference in New Issue
Block a user