add macOS igonre, fix macOS notifyIcon

This commit is contained in:
Aigio Liu
2021-03-01 02:03:02 +08:00
parent f9681b6d86
commit 6793f7a38a
20 changed files with 223 additions and 57 deletions
@@ -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);
}
}
}