mirror of
https://github.com/moparisthebest/Simba
synced 2024-11-29 04:22:16 -05:00
Extension changes
This commit is contained in:
parent
8160f7c0fa
commit
6e08942bed
@ -77,9 +77,6 @@ begin
|
||||
Exit;
|
||||
Updating := True;
|
||||
|
||||
GetLocalVersion(LocalR);
|
||||
GetOnlineVersion(OnlineR);
|
||||
|
||||
if (LocalR < OnlineR) then
|
||||
begin
|
||||
case MessageDlg('Reflection Updater', 'Updates are available. '+
|
||||
@ -98,7 +95,6 @@ begin
|
||||
f.ShowModal;
|
||||
end else
|
||||
begin
|
||||
MessageDlg('Reflection Updater', 'No Reflection update' ,mtConfirmation, [mbYes],0);
|
||||
writeln('No Reflection update');
|
||||
end;
|
||||
|
||||
@ -132,6 +128,12 @@ end;
|
||||
|
||||
procedure OnReflectionUpdateClick(Sender: TObject);
|
||||
begin
|
||||
GetLocalVersion(LocalR);
|
||||
GetOnlineVersion(OnlineR);
|
||||
|
||||
if (OnlineR <= LocalR) then
|
||||
MessageDlg('Reflection Updater', 'No Reflection update' ,mtConfirmation, [mbYes],0);
|
||||
else
|
||||
Update;
|
||||
end;
|
||||
|
||||
|
@ -132,8 +132,6 @@ begin
|
||||
Exit;
|
||||
Updating := True;
|
||||
|
||||
GetLocalVersion(LocalP,LocalS);
|
||||
GetOnlineVersion(OnlineP,OnlineS);
|
||||
|
||||
if (LocalP < OnlineP) or (LocalS < OnlineS) then
|
||||
begin
|
||||
@ -153,7 +151,6 @@ begin
|
||||
f.ShowModal;
|
||||
end else
|
||||
begin
|
||||
MessageDlg('SRL Updater', 'No SRL update / Plugins update available!' ,mtConfirmation, [mbYes],0);
|
||||
writeln('No SRL update / Plugins update available!');
|
||||
end;
|
||||
|
||||
@ -183,8 +180,14 @@ begin
|
||||
else
|
||||
Settings.SetKeyValue('AutoUpdate', 'True');
|
||||
end;
|
||||
|
||||
procedure OnSRLUpdateClick(Sender: TObject);
|
||||
begin
|
||||
GetLocalVersion(LocalP,LocalS);
|
||||
GetOnlineVersion(OnlineP,OnlineS);
|
||||
if (OnlineP <= LocalP) and (OnlineS <= LocalS) then
|
||||
MessageDlg('SRL Updater', 'No SRL update / Plugins update available!', mtConfirmation, [mbYes], 0);
|
||||
else
|
||||
Update;
|
||||
end;
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user