mirror of
https://github.com/Flow-Launcher/Flow.Launcher.git
synced 2026-03-11 08:54:32 +00:00
Fix a file missing bug
This commit is contained in:
parent
d78ecdc203
commit
2583b38a17
1 changed files with 2 additions and 2 deletions
|
|
@ -41,7 +41,7 @@ namespace Wox
|
|||
Storyboard.SetTargetProperty(fadeOutAnimation, new PropertyPath(TopProperty));
|
||||
fadeOutStoryboard.Children.Add(fadeOutAnimation);
|
||||
|
||||
imgClose.Source = new BitmapImage(new Uri(System.IO.Path.GetDirectoryName(System.Windows.Forms.Application.ExecutablePath) + "\\Images\\close.png"));
|
||||
imgClose.Source = new BitmapImage(new Uri(System.IO.Path.Combine(System.IO.Path.GetDirectoryName(System.Windows.Forms.Application.ExecutablePath), "Images\\close.png")));
|
||||
imgClose.MouseUp += imgClose_MouseUp;
|
||||
}
|
||||
|
||||
|
|
@ -65,7 +65,7 @@ namespace Wox
|
|||
tbSubTitle.Text = subTitle;
|
||||
if (!File.Exists(icopath))
|
||||
{
|
||||
icopath = System.IO.Path.GetDirectoryName(System.Windows.Forms.Application.ExecutablePath) + "Images\\app.png";
|
||||
icopath = System.IO.Path.Combine(System.IO.Path.GetDirectoryName(System.Windows.Forms.Application.ExecutablePath), "Images\\app.png");
|
||||
}
|
||||
imgIco.Source = new BitmapImage(new Uri(icopath));
|
||||
Show();
|
||||
|
|
|
|||
Loading…
Reference in a new issue