Skip to content

Commit ccb390f

Browse files
committed
fix media.ps3 -> media
1 parent c21d086 commit ccb390f

File tree

1 file changed

+6
-0
lines changed

1 file changed

+6
-0
lines changed

functions/EmuScripts/emuDeckRPCS3.ps1

+6
Original file line numberDiff line numberDiff line change
@@ -46,6 +46,12 @@ function RPCS3_renameFolders(){
4646
# Skip the "shortcuts" folder
4747
if ($name -ne "shortcuts") {
4848

49+
if ($name -eq "media.ps3") {
50+
$newName = "media"
51+
Rename-Item -Path $directory.FullName -NewName $newName
52+
Write-Output "Fixed folder '$name' to '$newName'."
53+
}
54+
4955
# If the folder name does not end with .ps3, add the extension
5056
if ($name -eq "media") {
5157
Write-Output "The folder 'media' does not need to be renamed."

0 commit comments

Comments
 (0)