Skip to content

Commit

Permalink
scummvm: Rename if there's version in file name (#1303)
Browse files Browse the repository at this point in the history
  • Loading branch information
Birdie0 authored Dec 29, 2024
1 parent 8bfe939 commit 9520d65
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion bucket/scummvm.json
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,9 @@
}
},
"pre_install": [
"Rename-Item -Path \"$dir\\scummvm-$version.exe\" -NewName \"scummvm.exe\"",
"if (Test-Path \"$dir\\scummvm-$version.exe\") {",
" Rename-Item -Path \"$dir\\scummvm-$version.exe\" -NewName \"scummvm.exe\"",
"}",
"if (!(Test-Path \"$persist_dir\\scummvm.ini\")) {",
" New-Item -Path \"$dir\" -Name \"scummvm.ini\" -ItemType \"File\" | Out-Null",
"}"
Expand Down

0 comments on commit 9520d65

Please sign in to comment.