added 2nd screenshot in art
This commit is contained in:
@@ -16,6 +16,7 @@ type artUrls struct {
|
|||||||
spine string
|
spine string
|
||||||
logo string
|
logo string
|
||||||
screenshot string
|
screenshot string
|
||||||
|
screenshot2 string
|
||||||
}
|
}
|
||||||
|
|
||||||
func getArtUrlForGameFromGithub(gameID string) artUrls {
|
func getArtUrlForGameFromGithub(gameID string) artUrls {
|
||||||
@@ -33,6 +34,7 @@ func getArtUrlForGameFromGithub(gameID string) artUrls {
|
|||||||
spine: genURL("LAB"),
|
spine: genURL("LAB"),
|
||||||
logo: genURL("LGO"),
|
logo: genURL("LGO"),
|
||||||
screenshot: genURL("SCR_00"),
|
screenshot: genURL("SCR_00"),
|
||||||
|
screenshot2: genURL("SCR_01"),
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
@@ -49,6 +51,7 @@ func downloadArtForGame(gameID string, targetDir string) error {
|
|||||||
dl(urls.disc, "ICO")
|
dl(urls.disc, "ICO")
|
||||||
dl(urls.background, "BG")
|
dl(urls.background, "BG")
|
||||||
dl(urls.screenshot, "SCR")
|
dl(urls.screenshot, "SCR")
|
||||||
|
dl(urls.screenshot2, "SRC2")
|
||||||
dl(urls.spine, "LAB")
|
dl(urls.spine, "LAB")
|
||||||
|
|
||||||
return nil
|
return nil
|
||||||
|
|||||||
Reference in New Issue
Block a user