Skip to content

Commit

Permalink
Fixed first run issue
Browse files Browse the repository at this point in the history
Was set up to yell at the user 3 times if the config file wasn't found. Fixed that nonsense. A check on the final line is reasonable.
  • Loading branch information
5k1ttl3 committed Feb 16, 2014
1 parent 378ce48 commit a9bd938
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions launchpad.ahk
Original file line number Diff line number Diff line change
Expand Up @@ -34,14 +34,14 @@ GuiControl,, DataDirEdit, %datadir%
;-----------------------------------------Read line 2 (Data Dir) from config.txt, set variables
FileReadLine, line, config.txt, 2
if ErrorLevel {
msgbox Looks like its your first time using DogeCoin Launchpad! (That, or something went horribly wrong)
;msgbox Looks like its your first time using DogeCoin Launchpad! (That, or something went horribly wrong)
}
exedir=%line%
GuiControl,, ExeDirEdit, %exedir%
;-----------------------------------------Read line 3 (Default Tip Amt) from config.txt, set variables
FileReadLine, line, config.txt, 3
if ErrorLevel {
msgbox Looks like its your first time using DogeCoin Launchpad! (That, or something went horribly wrong)
;msgbox Looks like its your first time using DogeCoin Launchpad! (That, or something went horribly wrong)
}
tipammount=%line%
GuiControl,, TipAmmountEdit, %tipammount%
Expand Down

0 comments on commit a9bd938

Please sign in to comment.