You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
if MessageDlg('This will connect to the internet to check for any Keyfinder or cfg updates. Do you want to continue?', mtConfirmation , [mbYes,mbNo], 0) = 6then
2175
2150
begin
2151
+
kfUpdate := False;
2152
+
cfgUpdate := False;
2153
+
2176
2154
//download update.ini to parse version information
2177
2155
ifnot DoDownload('http://keyfinder.sourceforge.net/update.ini',GetTempDirectory + 'update.ini') then
if MessageDlg('There is a new version of Keyfinder: v' + newVersion + sLineBreak + 'Do you want to visit the download page?', mtConfirmation , [mbYes,mbNo], 0) = 6then
ifnot FileExists(ExtractFilePath(Application.ExeName) + 'keyfinder.cfg') then
2189
2181
begin
2190
-
if MessageDlg('You don''t appear to have a keyfinder.cfg file. This will allow you to detect the keys of more software.Do you want the latest version?', mtConfirmation , [mbYes,mbNo], 0) = 6then
2191
-
if DoDownload('http://keyfinder.sourceforge.net/keyfinder.cfg',ExtractFilePath(Application.ExeName) + 'keyfinder.cfg') then
2182
+
if MessageDlg('You don''t appear to have a keyfinder.cfg file. This will allow you to detect the keys of more software.' + sLineBreak + 'Do you want the latest version?', mtConfirmation , [mbYes,mbNo], 0) = 6then
2183
+
if DoDownload(cfgURL,ExtractFilePath(Application.ExeName) + 'keyfinder.cfg') then
if MessageDlg('There is a new version of keyfinder.cfg: ' + newCFG + ' This will allow you to detect the keys of more software.' + sLineBreak + 'Do you want the latest version?', mtConfirmation , [mbYes,mbNo], 0) = 6then
2193
+
if DoDownload(cfgURL,ExtractFilePath(Application.ExeName) + 'keyfinder.cfg') then
0 commit comments