From f01ab51fac1829d710f429d493e7334df9134ae2 Mon Sep 17 00:00:00 2001 From: Colin Date: Wed, 26 Jun 2024 10:20:30 -0400 Subject: [PATCH] Fixup --- install.ps1 | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/install.ps1 b/install.ps1 index 8f08de8..283c361 100644 --- a/install.ps1 +++ b/install.ps1 @@ -13,7 +13,8 @@ New-Item -ItemType Directory -Force -Path "C:\Program Files\AE-Send" Copy-Item -Path $downloadPath -Destination $installPath -Force # Attempt to install (add context menu entry) -Start-Process -FilePath $installPath -ArgumentList "install" -Wait -Verb RunAs +$exeArgs = "install" +& $installPath $exeArgs # Clean up downloaded file Remove-Item $downloadPath -Force