fixed chrome filepath not registering as global variable
This commit is contained in:
@@ -28,6 +28,8 @@ global ScriptName
|
||||
global ScriptVersion
|
||||
global FullScriptName
|
||||
|
||||
|
||||
|
||||
ScriptName = Freedomain Video Uploader
|
||||
ScriptVersion = 3.18
|
||||
FullScriptName := ScriptName . " - " . ScriptVersion
|
||||
@@ -35,6 +37,15 @@ FullScriptName := ScriptName . " - " . ScriptVersion
|
||||
|
||||
; 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---
|
||||
@@ -1153,10 +1164,9 @@ VideoTags := StrReplace(VideoTags, " ",",")
|
||||
|
||||
KeywordsArray := StrSplit(VideoTags,",")
|
||||
|
||||
; if(Streamanity){
|
||||
; UploadedToSites .= "Streamanity,"
|
||||
; Gosub, StreamanityUpload
|
||||
; }
|
||||
; Initiate Chrome Filepath Variable
|
||||
; @todo: find a better location for this?
|
||||
GetChromeFilepath()
|
||||
|
||||
if(Facebook){
|
||||
UploadedToSites .= "Facebook,"
|
||||
@@ -4908,22 +4918,6 @@ Return
|
||||
|
||||
|
||||
; -------------------------------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(){
|
||||
; Check if LBRY Process exists
|
||||
Process, Exist,LBRY.exe
|
||||
|
||||
Reference in New Issue
Block a user