26a0f59901a95b9123a5e446147feb592aa66023
改为从应用程序自身提取托盘图标,移除发布目录中的外部 app.ico 依赖。 确保 v0.1.0 发布目录只包含 OmniNotify.exe,便于手动上传到 Gitea Release。
Omni-Notify
Omni-Notify is a Windows 10+ WPF desktop app for receiving local structured messages and showing configurable, non-interactive visual popups.
Tech Stack
- .NET 8 WPF for the desktop UI and popup windows
- Windows Forms
NotifyIconfor the system tray entry - Built-in
HttpListenerfor local message intake - JSON persistence under
%LOCALAPPDATA%\OmniNotify\state.json
Local Message API
When the app is running, it listens by default on:
http://127.0.0.1:19845/notify
Send a POST request with UTF-8 JSON:
{
"channel": "default",
"title": "Build finished",
"body": "The nightly job completed successfully."
}
Channels must be created in the control panel first. Unknown channels are blocked and recorded in history as IllegalChannel.
Build
dotnet build
Description