X-Git-Url: https://git.josue.xyz/?a=blobdiff_plain;f=watchexec%2Finstall.ps1;fp=watchexec%2Finstall.ps1;h=3825abd0e0d5df4ab8a9469b08ca8d4971228648;hb=9ee3af1afbb78333a74788ae1642ef539e2b80df;hp=7e53bb55161636640955552df6eb1db26a1cea6d;hpb=713e44b7d96290daac344ce79bfa34736691fbee;p=webi-installers%2F.git diff --git a/watchexec/install.ps1 b/watchexec/install.ps1 index 7e53bb5..3825abd 100644 --- a/watchexec/install.ps1 +++ b/watchexec/install.ps1 @@ -34,16 +34,16 @@ IF (!(Test-Path -Path "$pkg_src_cmd")) # Enter tmp pushd .local\tmp - # Remove any leftover tmp cruft + # Remove any leftover tmp cruft Remove-Item -Path ".\watchexec-v*" -Recurse -ErrorAction Ignore Remove-Item -Path ".\watchexec.exe" -Recurse -ErrorAction Ignore echo "Unpacking $pkg_download" & tar xf "$pkg_download" - + # Settle unpacked archive into place echo "Install Location: $pkg_src_cmd" - New-Item "$pkg_src_bin" -ItemType Directory + New-Item "$pkg_src_bin" -ItemType Directory -Force Move-Item -Path ".\watchexec-*\watchexec.exe" -Destination "$pkg_src_bin" # Exit tmp