Fix line endings
This commit is contained in:
parent
01a000b9fa
commit
653bda0838
3 changed files with 4 additions and 3 deletions
|
|
@ -9,4 +9,4 @@ Get-Content .env | ForEach-Object {
|
||||||
|
|
||||||
function RunProgram([string] $program, [parameter(ValueFromRemainingArguments = $true)][string[]] $arguments) {
|
function RunProgram([string] $program, [parameter(ValueFromRemainingArguments = $true)][string[]] $arguments) {
|
||||||
Start-Process -NoNewWindow -Wait -FilePath $program -ArgumentList $arguments
|
Start-Process -NoNewWindow -Wait -FilePath $program -ArgumentList $arguments
|
||||||
}
|
}
|
||||||
|
|
|
||||||
2
run.ps1
2
run.ps1
|
|
@ -4,4 +4,4 @@
|
||||||
|
|
||||||
$love2d = $env:LOVE2D_EXE ?? "C:/Program Files/LOVE/love.exe"
|
$love2d = $env:LOVE2D_EXE ?? "C:/Program Files/LOVE/love.exe"
|
||||||
|
|
||||||
RunProgram -program $love2d -arguments $(Resolve-Path "./game")
|
RunProgram -program $love2d -arguments $(Resolve-Path "./game")
|
||||||
|
|
|
||||||
|
|
@ -10,4 +10,5 @@ RunProgram -program $dosbox_x -arguments "-nopromptfolder",
|
||||||
"-set", "`"cputype=$cpu`"",
|
"-set", "`"cputype=$cpu`"",
|
||||||
"-c", "`"MOUNT C $(Resolve-Path "./lovedos/") `"",
|
"-c", "`"MOUNT C $(Resolve-Path "./lovedos/") `"",
|
||||||
"-c", "`"MOUNT D $pwd `"",
|
"-c", "`"MOUNT D $pwd `"",
|
||||||
"-c", "`"c:\love.exe d:\game `""
|
"-c", "`"c:\love.exe d:\game `"",
|
||||||
|
"-c", "exit"
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue