fixed chrome filepath not registering as global variable

pull/2/head
Yuriy 1 year ago
parent a2c83e8261
commit 0e479536a9

@ -28,6 +28,8 @@ global ScriptName
global ScriptVersion global ScriptVersion
global FullScriptName global FullScriptName
ScriptName = Freedomain Video Uploader ScriptName = Freedomain Video Uploader
ScriptVersion = 3.18 ScriptVersion = 3.18
FullScriptName := ScriptName . " - " . ScriptVersion FullScriptName := ScriptName . " - " . ScriptVersion
@ -35,6 +37,15 @@ FullScriptName := ScriptName . " - " . ScriptVersion
; UStartTime := A_TickCount ; start time ; UStartTime := A_TickCount ; start time
; Included Files - These have to be included at the top for the Global variables to get registered early?
#Include %A_ScriptDir%\Lib\Freedomain-Posters-Shared-Functions\General-Functions.ahk
#Include %A_ScriptDir%\Lib\Freedomain-Posters-Shared-Functions\Selenium-Functions.ahk
#Include %A_ScriptDir%\Lib\Freedomain-Posters-Shared-Functions\Chrome-Functions.ahk
#Include %A_ScriptDir%\Lib\Freedomain-Posters-Shared-Functions\Gitea-Functions.ahk
#Include %A_ScriptDir%\Lib\Freedomain-Posters-Shared-Functions\API-Functions.ahk
#Include %A_ScriptDir%\Lib\Freedomain-Posters-Shared-Functions\JSON.ahk
#Include %A_ScriptDir%\Lib\Freedomain-Posters-Shared-Functions\RunCMD.ahk
#include %A_ScriptDir%\Lib\Freedomain-Posters-Shared-Functions\StdOutToVar.ahk
;---ToDo--- ;---ToDo---
@ -1153,10 +1164,9 @@ VideoTags := StrReplace(VideoTags, " ",",")
KeywordsArray := StrSplit(VideoTags,",") KeywordsArray := StrSplit(VideoTags,",")
; if(Streamanity){ ; Initiate Chrome Filepath Variable
; UploadedToSites .= "Streamanity," ; @todo: find a better location for this?
; Gosub, StreamanityUpload GetChromeFilepath()
; }
if(Facebook){ if(Facebook){
UploadedToSites .= "Facebook," UploadedToSites .= "Facebook,"
@ -4908,22 +4918,6 @@ Return
; -------------------------------Functions------------------------------- ; -------------------------------Functions-------------------------------
; Included Files
#Include %A_ScriptDir%\Lib\Freedomain-Posters-Shared-Functions\General-Functions.ahk
#Include %A_ScriptDir%\Lib\Freedomain-Posters-Shared-Functions\Selenium-Functions.ahk
#Include %A_ScriptDir%\Lib\Freedomain-Posters-Shared-Functions\Chrome-Functions.ahk
#Include %A_ScriptDir%\Lib\Freedomain-Posters-Shared-Functions\Gitea-Functions.ahk
#Include %A_ScriptDir%\Lib\Freedomain-Posters-Shared-Functions\API-Functions.ahk
#Include %A_ScriptDir%\Lib\Freedomain-Posters-Shared-Functions\JSON.ahk
#Include %A_ScriptDir%\Lib\Freedomain-Posters-Shared-Functions\RunCMD.ahk
#include %A_ScriptDir%\Lib\Freedomain-Posters-Shared-Functions\StdOutToVar.ahk
; #Include %A_ScriptDir%\Lib\ChromeAutomationFunctions.ahk
CheckLBRYProcess(){ CheckLBRYProcess(){
; Check if LBRY Process exists ; Check if LBRY Process exists
Process, Exist,LBRY.exe Process, Exist,LBRY.exe

@ -1 +1 @@
Subproject commit 621127eaf039d2fb42d13c4ec0dc783a40ea3580 Subproject commit e15f45c67a8bbe6fea5d39d1bca1ae197d720be5
Loading…
Cancel
Save