diff --git a/functions/ToolScripts/emuDeckPegasus.ps1 b/functions/ToolScripts/emuDeckPegasus.ps1 index d19c3c47..ae4dae6d 100644 --- a/functions/ToolScripts/emuDeckPegasus.ps1 +++ b/functions/ToolScripts/emuDeckPegasus.ps1 @@ -36,6 +36,10 @@ function pegasus_setPaths(){ sedFile $_.FullName '\' '/' } + Get-ChildItem -Path $romsPath -File -Filter "metadata.txt" -Recurse | ForEach-Object { + sedFile $_.FullName '"' "'" + } + sedFile "$pegasus_dir_file" "/run/media/mmcblk0p1/Emulation" "$emulationPath" }