Skip to content

Commit 0cab526

Browse files
committed
Merge
2 parents 6b96db8 + fd0f07b commit 0cab526

File tree

3 files changed

+8
-4
lines changed

3 files changed

+8
-4
lines changed

.gitignore

+4
Original file line numberDiff line numberDiff line change
@@ -217,3 +217,7 @@ pip-log.txt
217217

218218
#Mr Developer
219219
.mr.developer.cfg
220+
221+
Steam
222+
steamgrid*
223+
__debug_bin

README.md

+3-3
Original file line numberDiff line numberDiff line change
@@ -7,11 +7,11 @@ again when you get more games or want to update the category overlays.
77

88
# Download #
99

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

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

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

1616
# How to use #
1717

games.go

+1-1
Original file line numberDiff line numberDiff line change
@@ -111,7 +111,7 @@ func addNonSteamGames(user User, games map[string]*Game) {
111111

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

0 commit comments

Comments
 (0)