added config file check

This commit is contained in:
alterNERDtive 2020-02-08 14:35:49 +01:00
parent 69c8736c78
commit 27662ada0c

View file

@ -25,6 +25,12 @@ setWorkingDir %A_ScriptDir%
#Persistent
; check for config file and exit if it doesnt exist
if !FileExist("focus.ini") {
msgbox, No config file found. Please follow the instructions in the README file.
ExitApp, 1
}
; read focus.ini
config := readConfig("focus.ini")