Skip to content

Commit

Permalink
Merge pull request #28 from sourabhkv/release-preview
Browse files Browse the repository at this point in the history
Remove `startupinfo` , replace with `shell=True`
  • Loading branch information
sourabhkv authored Mar 5, 2023
2 parents a983b24 + 4dbde71 commit 9adb56a
Show file tree
Hide file tree
Showing 2 changed files with 108 additions and 84 deletions.
13 changes: 13 additions & 0 deletions WebInstaller CLI.ps1
Original file line number Diff line number Diff line change
@@ -0,0 +1,13 @@
$url = "https://github.com/sourabhkv/ytdl/releases/latest/download/YouTube-dl.GUI.exe"
$outputPath = ".\Youtube-dl GUI.exe"
Write-Host "Install Youtube-dl GUI (ytdl)"
$res = Read-Host "(y/N)"
if ($res -eq "y"){
Write-Host "Downloading. . . "
Invoke-WebRequest $url -OutFile $outputPath
Write-Host "Installing. . . "
Start-Process $outputPath
}
else{
Exit(0)
}
Loading

0 comments on commit 9adb56a

Please sign in to comment.