|
|
|
@ -31,15 +31,19 @@ if(!FileExist(LBRYKillerPath)){
|
|
|
|
|
; Msgbox % "LBRYKillerPath: " LBRYKillerPath
|
|
|
|
|
; Msgbox % "LBRYProcessKillerURL: " LBRYProcessKillerURL
|
|
|
|
|
LBRYKillerPath = %A_ScriptDir%\Lib\LBRY Process Killer.exe
|
|
|
|
|
LBRYKillerUpdateURL = https://git.freedomainplaylists.com/attachments/7865dc8d-5aad-4f9f-8a30-94bab0192b1d
|
|
|
|
|
LBRYKillerUpdateURL = https://freedomain.dev/yuriy/video-uploader/raw/branch/main/Modules/LBRY-Process-Killer.exe
|
|
|
|
|
|
|
|
|
|
UrlDownloadToFile, %LBRYKillerUpdateURL%, %LBRYKillerPath%
|
|
|
|
|
; msgbox, work?
|
|
|
|
|
; UrlDownloadToFile, URL, Filename
|
|
|
|
|
Message = LBRY Process Killer Not Found. Automatically Downloading.
|
|
|
|
|
SaveOrPostProgress(Message:=Message,PostType:="Tooltip,ErrorLoggingTextFile,DiscordErrorLogging")
|
|
|
|
|
|
|
|
|
|
UrlDownloadToFile, %LBRYKillerUpdateURL%, %LBRYKillerPath%
|
|
|
|
|
if(ErrorLevel){
|
|
|
|
|
Message = Failed to download the the LBRY-Killer.exe from %LBRYKillerUpdateURL%
|
|
|
|
|
SaveOrPostProgress(Message:=Message,PostType:="Tooltip,ErrorLoggingTextFile,DiscordErrorLogging")
|
|
|
|
|
Return
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
TooltipThis("Uploading Video through API")
|
|
|
|
|