Skip to content

Commit

Permalink
rm
Browse files Browse the repository at this point in the history
  • Loading branch information
dragoonDorise committed Jan 27, 2025
1 parent 7681726 commit d73a227
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion functions/helperFunctions.ps1
Original file line number Diff line number Diff line change
Expand Up @@ -854,7 +854,8 @@ function createSaveLink($simLinkPath, $emuSavePath){
$newFolderName = Split-Path $emuSavePath -Leaf
$emuSaveParent = Split-Path $emuSavePath -Parent

rmdir "$emuSavePath" -ErrorAction SilentlyContinue
rm -r -fo "$emuSavePath" -ErrorAction SilentlyContinue

Move-Item -Path "$simLinkPath" -Destination $emuSaveParent -Force

if ((Test-Path "$emuSaveParent\$originalFolderName") -and $originalFolderName -ne $newFolderName) {
Expand Down

0 comments on commit d73a227

Please sign in to comment.