pinkwah / steam-appmanifest

Generates appmanifest_APPID.acf files in ~/.steam/steam/SteamApps
MIT License
389 stars 43 forks source link

Eliminating the "/" char from the installdir parameter #22

Closed gokul closed 7 years ago

gokul commented 7 years ago

In POSIX-compatible file systems, file names cannot contain the following characters: NUL (0x00), forward slash (0x2f). While others may also be disallowed, this requirement is present in all UNIX-inspired file systems.

This simple patch makes sure that even for games that contain the "/" character in their title, the install directory param is set in a way which does not violate this minimum requirement. I'm only trapping the "/" character since it's obviously impossible for games to have the NULL character in their title ;)

pinkwah commented 7 years ago

Thanks :)