V0.2.6.0 with UpdatePack

git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@5676 8e941d3f-bd1b-0410-a28a-d453659cc2b4
This commit is contained in:
gbamber
2017-01-18 08:53:43 +00:00
parent 24231d3049
commit c9b5c5b503
4 changed files with 10 additions and 10 deletions

View File

@ -45,14 +45,14 @@
<Filename Value="..\ulazautoupdate.pas"/>
<IsVisibleTab Value="True"/>
<WindowIndex Value="1"/>
<TopLine Value="547"/>
<CursorPos X="45" Y="572"/>
<TopLine Value="184"/>
<CursorPos X="13" Y="221"/>
<ExtraEditorCount Value="2"/>
<ExtraEditor1>
<IsVisibleTab Value="True"/>
<EditorIndex Value="1"/>
<TopLine Value="45"/>
<CursorPos X="42" Y="72"/>
<CursorPos X="42" Y="69"/>
</ExtraEditor1>
<ExtraEditor2>
<EditorIndex Value="-1"/>

View File

@ -51,15 +51,12 @@ const
C_SOURCEFORGEURL =
'https://sourceforge.net/projects/%s/files/%s/%s/download';
// [updatepath,projectname,filename]
// C_GITHUBFILE_URL = 'https://raw.github.com/%s/%s/master/%s/%s';
C_GITHUBFILE_URL = 'https://raw.github.com/%s/%s/%s/%s';
// https://raw.github.com/<username>/<repo>/<branch>/file
// GitHubUserName,GitHubProjectName,updatepath,filename
C_GITHUBFILE_URL_UPDATES = 'https://raw.github.com/%s/%s/%s/%s/%s';
// https://raw.github.com/<username>/<repo>/<branch>/some_directory/file
C_GITHUBFILE_URL_TAGUPDATES = 'https://raw.github.com/%s/%s/%s/%s/%s';
// https://github.com/lazarusccr/TestApp/blob/updates/updates/testapplinux32.ini
// https://raw.github.com/<username>/<repo>/<branch>/some_directory/file
// https://raw.github.com/<username>/<repo>/<branchname>/some_directory/file
// https://raw.github.com/<username>/<repo>/<tagname>/some_directory/file
C_TLazAutoUpdateComponentVersion = '0.2.6';
C_LAUTRayINI = 'lauimport.ini';
@ -196,6 +193,7 @@ resourcestring
rsApplicationU = 'Application update';
type
// Dummy thread to initialise the threading system
tc = class(tthread)
procedure Execute; override;
end;
@ -215,10 +213,12 @@ type
TThreadedDownload = class; // Forward declaration
{TLAZAUTOUPDATE}
// Event declarations
TOnNewVersionAvailable = procedure(Sender: TObject; Newer: boolean;
OnlineVersion: string) of object;
TOnDownloaded = procedure(Sender: TObject; ResultCode, BytesDownloaded: integer) of
object;
// ToDo: TOnUpdated??
TOnDebugEvent = procedure(Sender: TObject; lauMethodName, lauMessage: string) of
object;

View File

@ -6,8 +6,8 @@
},
"UpdatePackageFiles" : [
{
"ForceNotify" : false,
"InternalVersion" : 2,
"ForceNotify" : true,
"InternalVersion" : 1,
"Name" : "lazupdate.lpk",
"Version" : "0.2.6.0"
}