Support setting a name for a demo, supporting more than one demo stored at a time for a map.

This commit is contained in:
yrriban 2025-05-11 17:28:07 -04:00
parent c73c7dd457
commit 85d3686f1c
11 changed files with 35 additions and 30 deletions

View file

@ -29,7 +29,7 @@ class SS(dcc.doom_base.WadMap):
sys.exit("Gave up on image verification")
if not accepted:
return False
img.save(filename=dcc.config.BaseThumbPath(parsed_args.wad, parsed_args.map))
img.save(filename=dcc.config.BaseThumbPath(parsed_args.wad, parsed_args.map, parsed_args.name))
return True
while not try_screenshot():