From a8664b3c573e6f76f3557e7ece056dc7d5dc640c Mon Sep 17 00:00:00 2001 From: Merlijn Wajer Date: Sun, 31 Jul 2011 13:56:47 +0200 Subject: [PATCH] Extensions: Add extension auto updater. --- Extensions/extension.sex | 15 +++++++++++++++ 1 file changed, 15 insertions(+) create mode 100644 Extensions/extension.sex diff --git a/Extensions/extension.sex b/Extensions/extension.sex new file mode 100644 index 0000000..ce79e60 --- /dev/null +++ b/Extensions/extension.sex @@ -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.