write a powershell script that downloads a program from github releases and launches it
Private research annotation
Sign in to add a private research label or note.
- User
write a powershell script that downloads a program from github releases and launches it
- Assistant
Sure! Below is an example of a PowerShell script that downloads a specific program from GitHub releases and launches it.
Note:
- Make sure to replace the variables with the appropriate values for the GitHub repository and the program you want to download.
- Ensure that the URL you are downloading points directly to a file (e.g., a
.exe,.zip, etc.) in the GitHub releases section.
- User
add error handlers to every step. also is it possible to make it launch without saving to a folder, OR at least delete it after using so it doesn't linger
- Assistant