chui tanner

This commit is contained in:
Trit0 2025-06-29 20:01:50 -04:00 committed by TristanBrault
parent 6f9f80a190
commit 34864e96ac
2 changed files with 3 additions and 2 deletions

View File

@ -8,8 +8,8 @@ type Game struct {
Version string
Description string
Players string
ThumbnailPath string
ImagePath string
ThumbnailPath string `yaml:"thumbnailPath"`
ImagePath string `yaml:"imagePath"`
Release string
Modification string
Files string

View File

@ -205,6 +205,7 @@ func GetConjureGameInfo() []models.Game {
fmt.Println("Contents of metadata.txt:")
metadata, err := io.ReadAll(rc)
game := parseGameInfo(metadata)
fmt.Println(game.ThumbnailPath)
game.ThumbnailPath = filepath.Join(conjBase, game.ThumbnailPath)
game.ImagePath = filepath.Join(conjBase, game.ImagePath)
games = append(games, game)