Le dimanche 4 octobre 2015, 21:11:56 Markus Koschany a écrit : > Am 04.10.2015 um 18:22 schrieb Simon McVittie: > [...] > > So we could say that mentioning > > > > doom.wad?1.1 > > > > in a file list implies the equivalent of this: > > > > files: > > doom.wad?1.1: > > install_as: doom.wad > > > > unless a different look_for or install_as value is configured? > > That would be a nice shortcut.
And it's a one-line change... I pushed this + updated definition for Soltys game as a sample. --- a/game_data_packager/__init__.py +++ b/game_data_packager/__init__.py @@ -54,7 +54,7 @@ class WantedFile(HashedFile): self.distinctive_name = True self.distinctive_size = False self.download = None - self.install_as = name + self.install_as = name.split('?')[0]
signature.asc
Description: This is a digitally signed message part.