diff --git a/App.xaml.cs b/App.xaml.cs
index e5262fe..efa027c 100644
--- a/App.xaml.cs
+++ b/App.xaml.cs
@@ -86,10 +86,9 @@ public partial class App : System.Windows.Application
private void CreateTrayIcon()
{
- var iconPath = Path.Combine(AppContext.BaseDirectory, "app.ico");
_notifyIcon = new Forms.NotifyIcon
{
- Icon = new System.Drawing.Icon(iconPath),
+ Icon = System.Drawing.Icon.ExtractAssociatedIcon(Environment.ProcessPath ?? "") ?? System.Drawing.SystemIcons.Application,
Text = "Omni-Notify",
Visible = true
};
diff --git a/OmniNotify.csproj b/OmniNotify.csproj
index ce84f78..2c1cc84 100644
--- a/OmniNotify.csproj
+++ b/OmniNotify.csproj
@@ -10,8 +10,4 @@
app.ico
-
-
-
-