X-Git-Url: https://git.josue.xyz/?a=blobdiff_plain;f=_example%2Finstall.ps1;h=c3547e350716d2fa772aca515298eb3ec827fc63;hb=aa61db993471a5ec35fadbc050126735b9fc200a;hp=9f08cd257bc0f06dd424415e9604d17944e1e7f5;hpb=9ee3af1afbb78333a74788ae1642ef539e2b80df;p=webi-installers%2F.git diff --git a/_example/install.ps1 b/_example/install.ps1 index 9f08cd2..c3547e3 100644 --- a/_example/install.ps1 +++ b/_example/install.ps1 @@ -49,7 +49,7 @@ IF (!(Test-Path -Path "$pkg_src_cmd")) # Settle unpacked archive into place echo "Install Location: $pkg_src_cmd" - New-Item "$pkg_src_bin" -ItemType Directory -Force + New-Item "$pkg_src_bin" -ItemType Directory -Force | out-null Move-Item -Path ".\foobar-*\foo.exe" -Destination "$pkg_src_bin" # Exit tmp @@ -57,5 +57,5 @@ IF (!(Test-Path -Path "$pkg_src_cmd")) } echo "Copying into '$pkg_dst_cmd' from '$pkg_src_cmd'" -Remove-Item -Path "$pkg_dst_cmd" -Recurse -ErrorAction Ignore +Remove-Item -Path "$pkg_dst_cmd" -Recurse -ErrorAction Ignore | out-null Copy-Item -Path "$pkg_src" -Destination "$pkg_dst" -Recurse