diff --git a/common.ps1 b/common.ps1 index e234e75..87c8434 100644 --- a/common.ps1 +++ b/common.ps1 @@ -9,4 +9,4 @@ Get-Content .env | ForEach-Object { function RunProgram([string] $program, [parameter(ValueFromRemainingArguments = $true)][string[]] $arguments) { Start-Process -NoNewWindow -Wait -FilePath $program -ArgumentList $arguments -} \ No newline at end of file +} diff --git a/run.ps1 b/run.ps1 index 0ccaf74..3fbd814 100644 --- a/run.ps1 +++ b/run.ps1 @@ -4,4 +4,4 @@ $love2d = $env:LOVE2D_EXE ?? "C:/Program Files/LOVE/love.exe" -RunProgram -program $love2d -arguments $(Resolve-Path "./game") \ No newline at end of file +RunProgram -program $love2d -arguments $(Resolve-Path "./game") diff --git a/run_dosbox.ps1 b/run_dosbox.ps1 index 08e9d38..4a079cf 100644 --- a/run_dosbox.ps1 +++ b/run_dosbox.ps1 @@ -10,4 +10,5 @@ RunProgram -program $dosbox_x -arguments "-nopromptfolder", "-set", "`"cputype=$cpu`"", "-c", "`"MOUNT C $(Resolve-Path "./lovedos/") `"", "-c", "`"MOUNT D $pwd `"", - "-c", "`"c:\love.exe d:\game `"" \ No newline at end of file + "-c", "`"c:\love.exe d:\game `"", + "-c", "exit"