Skip to content

Commit

Permalink
Update Invoke-Install.ps1
Browse files Browse the repository at this point in the history
  • Loading branch information
emadadel4 committed May 27, 2024
1 parent e3ec20a commit 14d3255
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions Scripts/Core/Invoke-Install.ps1
Original file line number Diff line number Diff line change
Expand Up @@ -331,7 +331,7 @@ https://t.me/emadadel4
function DownloadAndInstallExe {
param (
[string]$url,
[string]$Args
[string]$exeArgs
)

$destination = "$env:temp/setup.exe"
Expand All @@ -350,7 +350,7 @@ https://t.me/emadadel4
}
}

Start-Process -Wait $destination -ArgumentList $Args
Start-Process -Wait $destination -ArgumentList $exeArgs
}

try
Expand Down Expand Up @@ -398,7 +398,7 @@ https://t.me/emadadel4

if($app.fileType -eq "exe")
{
DownloadAndInstallExe -url $url $Args $app.exeArgs
DownloadAndInstallExe -url $url $exeArgs $app.exeArgs
}
}
}
Expand Down

0 comments on commit 14d3255

Please sign in to comment.