Skip to content

Commit

Permalink
Merge pull request #64 from benruehl/hotfix/app-icon
Browse files Browse the repository at this point in the history
Fix uncaught exeption when app is started from different directory
  • Loading branch information
benruehl authored Feb 13, 2020
2 parents 8bbebfb + 59c2ffd commit 4b230e7
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion AdonisUI/Controls/AdonisWindow.cs
Original file line number Diff line number Diff line change
Expand Up @@ -157,7 +157,7 @@ public AdonisWindow()

private BitmapSource GetApplicationIcon()
{
Icon appIcon = System.Drawing.Icon.ExtractAssociatedIcon(Assembly.GetEntryAssembly()?.ManifestModule.Name);
Icon appIcon = System.Drawing.Icon.ExtractAssociatedIcon(Assembly.GetEntryAssembly()?.ManifestModule.FullyQualifiedName);

if (appIcon == null)
return null;
Expand Down

0 comments on commit 4b230e7

Please sign in to comment.