diff --git a/Freedomain Video Uploader.ahk b/Freedomain Video Uploader.ahk index 2f0d7ea..bd49a4d 100644 --- a/Freedomain Video Uploader.ahk +++ b/Freedomain Video Uploader.ahk @@ -369,7 +369,10 @@ if(FileExist(VideoLinksIniFile)){ ; MISC IniRead, ErrorLoggingFilePath, %VideoLinksIniFile%, Misc, ErrorLoggingFilePath, %A_Space% - IniRead, VideoThumbFilepath, %VideoLinksIniFile%, Misc, VideoThumbFilepath, %A_Space% + IniRead, TempVideoThumbFilepath, %VideoLinksIniFile%, Misc, VideoThumbFilepath, %A_Space% + if(TempVideoThumbFilepath){ ; if Video Thumbnail was saved in last run, overwrite variable path that was grabbed in the file loop above + VideoThumbFilepath := TempVideoThumbFilepath + } if(VideoFileSizeInMB < 50){ IniRead, Telegram, %VideoLinksIniFile%, Misc, Telegram, %A_Space% diff --git a/README.md b/README.md index 3ad675d..07a7d19 100644 --- a/README.md +++ b/README.md @@ -37,11 +37,13 @@ The Uploader will check for a portable version of Chrome first, before defaultin 2. Download the `win64` chromedriver for the same version and move it to `C:\Program Files\SeleniumBasic\chromedriver.exe` -# Settings -The Video Uploader reads & saves its settings to a `settings.ini` file located in the same directory as itself. All customization, including custom profile URLs for websites are stored here. The required fields are: +# Settings File +The Uploader reads & saves its settings to a `settings.ini` file, all customization, including custom profile URLs are stored here. +On first run, if this file does not exist it will be automatically downloaded from the git repo. +Before running for the first time you should set the following settings in the file: ```` [General] -RootDirToStartIn=ParentFolderForAllYourVideoProjects +RootDirToStartIn= Parent Folder with your Video Projects ShowTooltipProgress=1 DiscordWebhookBotURL= DiscordVideosWebhookURL=