Commit e4613460 authored by Simon McVittie's avatar Simon McVittie

runtime: Support more substitutions for missing-data.txt

parent ca6b0991
......@@ -126,6 +126,7 @@ class Launcher:
self.data = json.load(open('%s/launch-%s.json' % (RUNTIME_BUILT,
self.id), encoding='utf-8'))
self.game = self.data.get('game', self.id)
self.binary_only = self.data.get('binary_only', False)
logger.debug('Binary-only: %r', self.binary_only)
self.required_files = self.data['required_files']
......@@ -446,6 +447,8 @@ class Launcher:
else:
text = string.Template(text).safe_substitute(
distro=DISTRO,
game=self.game,
id=self.id,
name=self.name,
)
# strip single \n
......
---
game: etqw
binary_only: true
engine: $prefix/lib/etqw/etqwded.x86
required_files:
......
---
game: quake
dot_directory: null
base_directories:
- /usr/share/games/quake
......
---
game: quake2
dot_directory: null
base_directories:
- /usr/share/games/quake2
......
---
game: quake3
dot_directory: ~/.q3a
engines:
- $prefix/lib/ioquake3/ioq3ded
......
---
game: quake4
binary_only: true
engine: $prefix/lib/quake4/q4ded.x86
required_files:
......
---
game: unreal
binary_only: true
required_files:
- System/Core.so
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment