|
|
|
@ -42,7 +42,7 @@ global UpdateVersionNumber
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
ScriptName = Freedomain Social Media Poster
|
|
|
|
|
ScriptVersion = 2.84
|
|
|
|
|
ScriptVersion = 2.85
|
|
|
|
|
FullScriptName := ScriptName . " " . ScriptVersion
|
|
|
|
|
|
|
|
|
|
;---ToDo---
|
|
|
|
@ -299,7 +299,7 @@ if(StrLen(ErrorLoggingDirectory) > 5 and !InStr(ErrorLoggingDirectory, ".exe")){
|
|
|
|
|
(Locals != "")?(LocalsCheckStatus := 0) : (LocalsCheckStatus := 1)
|
|
|
|
|
(LinkedIN != "")?(LinkedINCheckStatus := 0) : (LinkedINCheckStatus := 1)
|
|
|
|
|
(Twetch != "")?(TwetchCheckStatus := 0) : (TwetchCheckStatus := 1)
|
|
|
|
|
(ThinkSpot != "")?(ThinkSpotCheckStatus := 0) : (ThinkSpotCheckStatus := 1)
|
|
|
|
|
(ThinkSpot != "")?(ThinkSpotCheckStatus := 0) : (ThinkSpotCheckStatus := 0)
|
|
|
|
|
; (Flote != "")?(FloteCheckStatus := 0) : (FloteCheckStatus := 0)
|
|
|
|
|
; (Pintrest != "")?(PintrestCheckStatus := 0) : (PintrestCheckStatus := 1)
|
|
|
|
|
; (Parler != "")?(ParlerCheckStatus := 0) : (ParlerCheckStatus := 0)
|
|
|
|
@ -512,13 +512,22 @@ ControlFocus, Edit1, %FullScriptName%
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
; check for updates if the setting is enabled
|
|
|
|
|
if(AutoUpdateCheck AND !SkipUpdateCheckThisRun){
|
|
|
|
|
CheckForUpdates(GitReleasesAPIURL)
|
|
|
|
|
if(AutoUpdateCheck AND !UpdateAvailable){
|
|
|
|
|
Message = Checking for Updates
|
|
|
|
|
SaveOrPostProgress(Message:=Message,PostType:="Tooltip,ErrorLoggingTextFile,DiscordErrorLogging")
|
|
|
|
|
; DevModeMsgBox("checking for updates")
|
|
|
|
|
; msgbox, checkin for update
|
|
|
|
|
; DevModeMsgBox(GitReleasesAPIURL)
|
|
|
|
|
; UpdateAvailable :=
|
|
|
|
|
|
|
|
|
|
if(CheckForUpdates(GitReleasesAPIURL))
|
|
|
|
|
GuiControl,,UpdateAvailable, Uploader Update Available!
|
|
|
|
|
|
|
|
|
|
; if(CheckForChromeUpdates(ChromeFilepath))
|
|
|
|
|
; GuiControl,,ChromeUpdateAvailable, Chrome Update Available!
|
|
|
|
|
if(CheckForChromeUpdates(ChromeFilepath)){
|
|
|
|
|
GuiControl,,ChromeUpdateAvailable, Chrome Update Available!
|
|
|
|
|
ChromeUpdateAvailable := 1
|
|
|
|
|
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
@ -615,7 +624,9 @@ if(!status){
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
DownloadLatestChromium()
|
|
|
|
|
Status := DownloadLatestChromium()
|
|
|
|
|
if(Status)
|
|
|
|
|
GuiControl,,ChromeUpdateAvailable, Chrome Up-to-Dat
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
Return
|
|
|
|
@ -808,7 +819,7 @@ IniWrite, %ShowTooltipProgress%, %SettingsIniFilepath%, SocialMediaPoster, ShowT
|
|
|
|
|
(Locals = 1)?(PostedWebsites .= "Locals|") : ()
|
|
|
|
|
(LinkedIn = 1)?(PostedWebsites .= "LinkedIn|") : ()
|
|
|
|
|
(Twetch = 1)?(PostedWebsites .= "Twetch|") : ()
|
|
|
|
|
(ThinkSpot = 1)?(PostedWebsites .= "ThinkSpot|") : ()
|
|
|
|
|
(ThinkSpot = 0)?(PostedWebsites .= "ThinkSpot|") : ()
|
|
|
|
|
; (Flote = 1)?(PostedWebsites .= "Flote|") : ()
|
|
|
|
|
(PocketNet = 1)?(PostedWebsites .= "PocketNet|") : ()
|
|
|
|
|
(Gettr = 1)?(PostedWebsites .= "Gettr|") : ()
|
|
|
|
|