From 0597c901448119a4a1e7085bef19cee3c2fa7180 Mon Sep 17 00:00:00 2001 From: Yuriy Date: Mon, 18 Dec 2023 23:33:35 -0500 Subject: [PATCH] Added error handling if freedomain.dev or chrome-for-testing API is not reachable --- Freedomain Social Media Poster.ahk | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/Freedomain Social Media Poster.ahk b/Freedomain Social Media Poster.ahk index 396af19..cddb2b2 100644 --- a/Freedomain Social Media Poster.ahk +++ b/Freedomain Social Media Poster.ahk @@ -39,7 +39,7 @@ global UpdateVersionNumber #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\Zip.ahk - +#Include %A_ScriptDir%\Lib\Freedomain-Posters-Shared-Functions\URLDownloadToVar.ahk @@ -122,7 +122,7 @@ ScriptSettingsSection := "SocialMediaPoster" FileInstall, Version.ini, %A_ScriptDir%\Lib\Version.ini, 1 -IniRead, ScriptVersion, %A_ScriptDir%\Lib\Version.ini,Social-Media-Poster, Version, 0.0 ; , Key [, Default] +IniRead, ScriptVersion, %A_ScriptDir%\Lib\Version.ini,Social-Media-Poster, Version, 0.0 ScriptName = Freedomain Social Media Poster FullScriptName := ScriptName . " " . ScriptVersion