From 6714ac11792050d1b6781226a90772be999b5991 Mon Sep 17 00:00:00 2001 From: mosinnik Date: Tue, 4 Feb 2025 23:47:44 +0300 Subject: [PATCH] Update setup fix target dir --- setup | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/setup b/setup index 81379a7..6639039 100644 --- a/setup +++ b/setup @@ -48,6 +48,6 @@ mkdir "$WCTEMP" -ErrorAction SilentlyContinue | Out-Null iwr $ZIPURL -OutFile "$WCTEMP/wclatest.zip" Write-Host "Done." Expand-Archive -LiteralPath "$WCTEMP/wclatest.zip" -DestinationPath "$WCTEMP" | Out-Null -Copy-Item "$WCTEMP/WslCompact" "$TARGET" -Force -Recurse | Out-Null +Copy-Item "$WCTEMP/WslCompact" "$TARGET/WslCompact" -Force -Recurse | Out-Null Remove-Item "$WCTEMP" -Force -Recurse -ErrorAction SilentlyContinue | Out-Null Write-Host "WslCompact Module installed. Type wslcompact -h to know more about it."