You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: powershell/yt-download.ps1
+12-1Lines changed: 12 additions & 1 deletion
Original file line number
Diff line number
Diff line change
@@ -160,7 +160,7 @@ function Test-AdminPrivileges {
160
160
161
161
functionTest-YtdlInstallation {
162
162
if (-not (Get-Command yt-dlp -ErrorAction SilentlyContinue)) {
163
-
TerminateWithError -errorMessage "yt-dlp is not installed globally on the system. Install it or add it to the PATH."
163
+
TerminateWithError -errorMessage "yt-dlp is not installed globally on the system. Install it or add it to the PATH. You may need to restart the browser from where you call the command"
164
164
}
165
165
}
166
166
@@ -182,6 +182,11 @@ function Get-YtdlPath {
182
182
183
183
}
184
184
185
+
functionTest-FFmpegInstallation {
186
+
if (-not (Get-Command ffmpeg -ErrorAction SilentlyContinue)) {
187
+
TerminateWithError -errorMessage "FFmpeg is not installed globally on the system. Install it or add it to the PATH. You may need to restart the browser from where you call the command."
0 commit comments