diff --git a/cli/get_purchases.go b/cli/get_purchases.go index 87ef948b..a2bd9218 100644 --- a/cli/get_purchases.go +++ b/cli/get_purchases.go @@ -35,7 +35,7 @@ func GetPurchases( downloadTypes []vangogh_local_data.DownloadType, langCodes []string, excludePatches bool, - externalUrl string, + gauginUrl string, force bool) error { productTypes := []vangogh_local_data.ProductType{ @@ -67,7 +67,7 @@ func GetPurchases( return err } - if err := Summarize(since, externalUrl); err != nil { + if err := Summarize(since, gauginUrl); err != nil { return err } diff --git a/go.mod b/go.mod index a13f85fc..6e4fb957 100644 --- a/go.mod +++ b/go.mod @@ -3,8 +3,8 @@ module github.com/arelate/vangogh go 1.23.0 require ( - github.com/arelate/southern_light v0.1.49 - github.com/arelate/vangogh_local_data v0.4.24 + github.com/arelate/southern_light v0.1.50 + github.com/arelate/vangogh_local_data v0.4.25 github.com/boggydigital/atomus v0.1.9 github.com/boggydigital/backups v0.1.3 github.com/boggydigital/clo v1.0.4 @@ -18,7 +18,7 @@ require ( github.com/boggydigital/pathways v0.1.14 github.com/boggydigital/wits v0.2.3 github.com/boggydigital/yet_urls v0.1.54 - golang.org/x/exp v0.0.0-20241004190924-225e2abe05e6 + golang.org/x/exp v0.0.0-20241009180824-f66d83c29e7c ) require ( diff --git a/go.sum b/go.sum index 00741a06..d31b7776 100644 --- a/go.sum +++ b/go.sum @@ -6,6 +6,8 @@ github.com/arelate/southern_light v0.1.48 h1:7OOjC7xtLw1XlXBtwygE/eTNY1TmQaNrgya github.com/arelate/southern_light v0.1.48/go.mod h1:IR7j2+TrHdoNfZrTNeXOvL3UYsotcNED3aOAEpm7VCY= github.com/arelate/southern_light v0.1.49 h1:IWwa1s9rTjSITcPkDwKHR0nsIVKKPW+Y5UAf9Nwvi3I= github.com/arelate/southern_light v0.1.49/go.mod h1:IR7j2+TrHdoNfZrTNeXOvL3UYsotcNED3aOAEpm7VCY= +github.com/arelate/southern_light v0.1.50 h1:ED0PHmUqCJU55eaaGQ/1rduoXjSIysv6HS8Wk9ZPr0w= +github.com/arelate/southern_light v0.1.50/go.mod h1:IR7j2+TrHdoNfZrTNeXOvL3UYsotcNED3aOAEpm7VCY= github.com/arelate/vangogh_local_data v0.4.17 h1:3jUQ96/96NMcWHajmfHKYPb3vsEIxNvleSmWxl2njbU= github.com/arelate/vangogh_local_data v0.4.17/go.mod h1:unEZgU2PkfWDeHBuYBcJDnmlaRqxRFwmyfCI/3W24kQ= github.com/arelate/vangogh_local_data v0.4.18 h1:v+q3O+192NvjQ2T3kA/MLuekYkFu8TvMKx9MSF9RdeA= @@ -22,6 +24,8 @@ github.com/arelate/vangogh_local_data v0.4.23 h1:jjNe3/ia1iW8RgNLcQaBiQurttAvrJy github.com/arelate/vangogh_local_data v0.4.23/go.mod h1:y/lz8bxUDS08T0l/YRoN6U4HjnDTitg8X0TtdaLskJE= github.com/arelate/vangogh_local_data v0.4.24 h1:9TdLXxl4x94lYSK1oRrPbpkRv+tUifJNHcTeT+56TY0= github.com/arelate/vangogh_local_data v0.4.24/go.mod h1:y/lz8bxUDS08T0l/YRoN6U4HjnDTitg8X0TtdaLskJE= +github.com/arelate/vangogh_local_data v0.4.25 h1:+ChJSMBwMcz5WJnTchlQ9HYqtUO3K7Svtc0KZ7zsgoU= +github.com/arelate/vangogh_local_data v0.4.25/go.mod h1:aUolQl94kPO1SmklTh4Cjq0wczMEhp3LzcRoE1JlG+c= github.com/boggydigital/atomus v0.1.9 h1:zAmXtAAXtBzMfz/83nEO4x8/uSLlPOq5wynW1jR/rbk= github.com/boggydigital/atomus v0.1.9/go.mod h1:mvPDNDMrpFZ7RHbyMrt30hVXFU+VoeCvHnT83Zhj91I= github.com/boggydigital/backups v0.1.3 h1:Yq4/2kVxpexc0bAVA5tQPgdcKXPWsqihzgI759VPgVM= @@ -66,6 +70,8 @@ golang.org/x/exp v0.0.0-20240909161429-701f63a606c0 h1:e66Fs6Z+fZTbFBAxKfP3PALWB golang.org/x/exp v0.0.0-20240909161429-701f63a606c0/go.mod h1:2TbTHSBQa924w8M6Xs1QcRcFwyucIwBGpK1p2f1YFFY= golang.org/x/exp v0.0.0-20241004190924-225e2abe05e6 h1:1wqE9dj9NpSm04INVsJhhEUzhuDVjbcyKH91sVyPATw= golang.org/x/exp v0.0.0-20241004190924-225e2abe05e6/go.mod h1:NQtJDoLvd6faHhE7m4T/1IY708gDefGGjR/iUW8yQQ8= +golang.org/x/exp v0.0.0-20241009180824-f66d83c29e7c h1:7dEasQXItcW1xKJ2+gg5VOiBnqWrJc+rq0DPKyvvdbY= +golang.org/x/exp v0.0.0-20241009180824-f66d83c29e7c/go.mod h1:NQtJDoLvd6faHhE7m4T/1IY708gDefGGjR/iUW8yQQ8= golang.org/x/image v0.18.0 h1:jGzIakQa/ZXI1I0Fxvaa9W7yP25TqT6cHIHn+6CqvSQ= golang.org/x/image v0.18.0/go.mod h1:4yyo5vMFQjVjUcVk4jEQcU9MGy/rulF5WvUILseCM2E= golang.org/x/image v0.19.0 h1:D9FX4QWkLfkeqaC62SonffIIuYdOk/UE2XKUBgRIBIQ= diff --git a/rest/compton_pages/steam_deck.go b/rest/compton_pages/steam_deck.go index 73eecfcd..3b09ea21 100644 --- a/rest/compton_pages/steam_deck.go +++ b/rest/compton_pages/steam_deck.go @@ -77,6 +77,9 @@ func SteamDeck(id string, dacr *steam_integration.DeckAppCompatibilityReport, rd displayTypeIcon.AddClass("svg") displayTypeIcon.Append(svg_use.SvgUse(s, svg_use.Circle)) decodedResult := steam_integration.DecodeLocToken(result) + if decodedResult == "" { + decodedResult = result + } displayTypeMessage := fspan.Text(s, decodedResult) if dt == "Unknown" { displayTypeMessage.ForegroundColor(color.Gray)