feature: supports get avatar from avatars.githubusercontent.com

* move all images to `src/Resources/Images` folder
This commit is contained in:
leo 2024-08-02 18:06:45 +08:00
parent 1729a64788
commit cd9196bb84
No known key found for this signature in database
42 changed files with 71 additions and 49 deletions

View file

@ -20,7 +20,7 @@ namespace SourceGit.Models
{
get
{
var icon = AssetLoader.Open(new Uri($"avares://SourceGit/Resources/ExternalToolIcons/{Icon}.png", UriKind.RelativeOrAbsolute));
var icon = AssetLoader.Open(new Uri($"avares://SourceGit/Resources/Images/ExternalToolIcons/{Icon}.png", UriKind.RelativeOrAbsolute));
return new Bitmap(icon);
}
}