Skip to content

Commit ef5116b

Browse files
fix resource path
1 parent 99e4bf4 commit ef5116b

4 files changed

Lines changed: 8 additions & 389 deletions

File tree

‎SimpleLauncher/RetroAchievementsForAGameWindow.xaml.cs‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -206,7 +206,7 @@ private void UpdateProgressDisplay(RaUserGameProgress progress)
206206
// Set Highest Award Icon (using existing trophy.png from ContextMenu.cs)
207207
if (progress.HighestAwardKind?.Equals("mastered", StringComparison.OrdinalIgnoreCase) == true)
208208
{
209-
HighestAwardIcon.Source = new BitmapImage(new Uri("pack://application:,,/SimpleLauncher;component/images/trophy.png"));
209+
HighestAwardIcon.Source = new BitmapImage(new Uri("pack://application:,,,/SimpleLauncher;component/images/trophy.png"));
210210
HighestAwardIcon.Visibility = Visibility.Visible;
211211
}
212212
else

‎SimpleLauncher/Services/GameItemFactory/GameButtonFactory.cs‎

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -267,7 +267,7 @@ public async Task<Button> CreateGameButtonAsync(string entityPath, string system
267267
// Create the star overlay image.
268268
var starImage = new Image
269269
{
270-
Source = new BitmapImage(new Uri("pack://application:,,/SimpleLauncher;component/images/star.png")),
270+
Source = new BitmapImage(new Uri("pack://application:,,,/SimpleLauncher;component/images/star.png")),
271271
Width = 22,
272272
Height = 22,
273273
HorizontalAlignment = HorizontalAlignment.Left,
@@ -342,7 +342,7 @@ public async Task<Button> CreateGameButtonAsync(string entityPath, string system
342342

343343
var trophyImage = new Image
344344
{
345-
Source = new BitmapImage(new Uri("pack://application:,,/SimpleLauncher;component/images/trophy.png")),
345+
Source = new BitmapImage(new Uri("pack://application:,,,/SimpleLauncher;component/images/trophy.png")),
346346
Stretch = Stretch.Uniform
347347
};
348348
trophyButton.Content = trophyImage;
@@ -413,7 +413,7 @@ public async Task<Button> CreateGameButtonAsync(string entityPath, string system
413413

414414
var videoLinkImage = new Image
415415
{
416-
Source = new BitmapImage(new Uri("pack://application:,,/SimpleLauncher;component/images/video.png")),
416+
Source = new BitmapImage(new Uri("pack://application:,,,/SimpleLauncher;component/images/video.png")),
417417
Stretch = Stretch.Uniform
418418
};
419419
videoLinkButton.Content = videoLinkImage;
@@ -476,7 +476,7 @@ public async Task<Button> CreateGameButtonAsync(string entityPath, string system
476476

477477
var infoLinkImage = new Image
478478
{
479-
Source = new BitmapImage(new Uri("pack://application:,,/SimpleLauncher;component/images/info.png")),
479+
Source = new BitmapImage(new Uri("pack://application:,,,/SimpleLauncher;component/images/info.png")),
480480
Stretch = Stretch.Uniform
481481
};
482482
infoLinkButton.Content = infoLinkImage;

‎SimpleLauncher/Services/SystemSelectionOrchestrator/SystemSelectionOrchestratorService.cs‎

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -217,7 +217,7 @@ private async Task PopulateSystemSelectionGridAsync(CancellationToken cancellati
217217

218218
var selectIcon = new Image
219219
{
220-
Source = new BitmapImage(new Uri("pack://application:,,/SimpleLauncher;component/images/play.png")),
220+
Source = new BitmapImage(new Uri("pack://application:,,,/SimpleLauncher;component/images/play.png")),
221221
Width = 16,
222222
Height = 16
223223
};
@@ -230,7 +230,7 @@ private async Task PopulateSystemSelectionGridAsync(CancellationToken cancellati
230230

231231
var editIcon = new Image
232232
{
233-
Source = new BitmapImage(new Uri("pack://application:,,/SimpleLauncher;component/images/settings.png")),
233+
Source = new BitmapImage(new Uri("pack://application:,,,/SimpleLauncher;component/images/settings.png")),
234234
Width = 16,
235235
Height = 16
236236
};
@@ -243,7 +243,7 @@ private async Task PopulateSystemSelectionGridAsync(CancellationToken cancellati
243243

244244
var deleteIcon = new Image
245245
{
246-
Source = new BitmapImage(new Uri("pack://application:,,/SimpleLauncher;component/images/delete.png")),
246+
Source = new BitmapImage(new Uri("pack://application:,,,/SimpleLauncher;component/images/delete.png")),
247247
Width = 16,
248248
Height = 16
249249
};

0 commit comments

Comments
 (0)