Skip to content

Commit

Permalink
Merge
Browse files Browse the repository at this point in the history
  • Loading branch information
boppreh committed Dec 28, 2020
2 parents 6b96db8 + fd0f07b commit 0cab526
Show file tree
Hide file tree
Showing 3 changed files with 8 additions and 4 deletions.
4 changes: 4 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -217,3 +217,7 @@ pip-log.txt

#Mr Developer
.mr.developer.cfg

Steam
steamgrid*
__debug_bin
6 changes: 3 additions & 3 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -7,11 +7,11 @@ again when you get more games or want to update the category overlays.

# Download #

[**steamgrid-windows.zip (4.4MB)**](https://github.com/boppreh/steamgrid/releases/download/v3.2.0/steamgrid_windows.zip)
[**steamgrid-windows.zip (4.4MB)**](https://github.com/boppreh/steamgrid/releases/latest/download/steamgrid_windows.zip)

[**steamgrid-linux.zip (4.5MB)**](https://github.com/boppreh/steamgrid/releases/download/v3.2.0/steamgrid_linux.zip)
[**steamgrid-linux.zip (4.5MB)**](https://github.com/boppreh/steamgrid/releases/latest/download/steamgrid_linux.zip)

[**steamgrid-mac.zip (4.6MB)**](https://github.com/boppreh/steamgrid/releases/download/v3.2.0/steamgrid_mac.zip)
[**steamgrid-mac.zip (4.6MB)**](https://github.com/boppreh/steamgrid/releases/latest/download/steamgrid_mac.zip)

# How to use #

Expand Down
2 changes: 1 addition & 1 deletion games.go
Original file line number Diff line number Diff line change
Expand Up @@ -111,7 +111,7 @@ func addNonSteamGames(user User, games map[string]*Game) {

// The actual binary format is known, but using regexes is way easier than
// parsing the entire file. If I run into any problems I'll replace this.
gamePattern := regexp.MustCompile("(?i)\x00\x01appname\x00([^\x08]+?)\x00\x01exe\x00([^\x08]+?)\x00\x01[^\x08]+?\x00tags\x00(?:\x01([^\x08]+?)|)\x08\x08")
gamePattern := regexp.MustCompile("(?i)\x01appname\x00([^\x08]+?)\x00\x01exe\x00([^\x08]+?)\x00\x01.+?\x00tags\x00(?:\x01([^\x08]+?)|)\x08\x08")
tagsPattern := regexp.MustCompile("\\d\x00([^\x00\x01\x08]+?)\x00")
for _, gameGroups := range gamePattern.FindAllSubmatch(shortcutBytes, -1) {
gameName := gameGroups[1]
Expand Down

0 comments on commit 0cab526

Please sign in to comment.