mirror of
https://github.com/moparisthebest/Simba
synced 2024-11-24 02:02:17 -05:00
Extensions: Add extension auto updater.
This commit is contained in:
parent
353d1f393d
commit
a8664b3c57
15
Extensions/extension.sex
Normal file
15
Extensions/extension.sex
Normal file
@ -0,0 +1,15 @@
|
|||||||
|
program ExtUpdater;
|
||||||
|
{$I ..\Extensions\Updater.sei}
|
||||||
|
|
||||||
|
procedure Init;
|
||||||
|
var
|
||||||
|
EXT: integer;
|
||||||
|
begin
|
||||||
|
Settings.GetKeyValueDef('Extensions_Visible', 'false'); //Default Menu to be hidden =)
|
||||||
|
AddUpdater('Extensions', 'http://wizzup.org/static/srl/exten.tar.bz2',
|
||||||
|
'http://wizzup.org/static/srl/exten_version', ScriptPath + {$IFDEF WINDOWS}'\' {$ELSE}'/'{$ENDIF}, True, True, EXT);
|
||||||
|
end;
|
||||||
|
|
||||||
|
function GetName: string; begin Result := 'Extensions Updater'; end;
|
||||||
|
function GetVersion: string; begin Result := '0.1'; end;
|
||||||
|
begin end.
|
Loading…
Reference in New Issue
Block a user