Hopefully fix bug with bat file generation.
This commit is contained in:
parent
23441c8b28
commit
a896792c58
@ -1630,11 +1630,7 @@ class DoomLauncher(QMainWindow):
|
|||||||
for flag in gameFlags:
|
for flag in gameFlags:
|
||||||
content.append(f" {flag} ^")
|
content.append(f" {flag} ^")
|
||||||
|
|
||||||
# Remove the trailing ^ from the last line
|
# Add TTS powershell script (this is the final line, no ^ needed)
|
||||||
if content[-1].endswith(" ^"):
|
|
||||||
content[-1] = content[-1][:-2]
|
|
||||||
|
|
||||||
# Add TTS powershell script
|
|
||||||
content.append(" | powershell -ExecutionPolicy Bypass -File DoomTTS.ps1")
|
content.append(" | powershell -ExecutionPolicy Bypass -File DoomTTS.ps1")
|
||||||
|
|
||||||
else:
|
else:
|
||||||
|
Loading…
x
Reference in New Issue
Block a user