You've already forked lazarus-ccr
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:
@ -45,14 +45,14 @@
|
|||||||
<Filename Value="..\ulazautoupdate.pas"/>
|
<Filename Value="..\ulazautoupdate.pas"/>
|
||||||
<IsVisibleTab Value="True"/>
|
<IsVisibleTab Value="True"/>
|
||||||
<WindowIndex Value="1"/>
|
<WindowIndex Value="1"/>
|
||||||
<TopLine Value="547"/>
|
<TopLine Value="184"/>
|
||||||
<CursorPos X="45" Y="572"/>
|
<CursorPos X="13" Y="221"/>
|
||||||
<ExtraEditorCount Value="2"/>
|
<ExtraEditorCount Value="2"/>
|
||||||
<ExtraEditor1>
|
<ExtraEditor1>
|
||||||
<IsVisibleTab Value="True"/>
|
<IsVisibleTab Value="True"/>
|
||||||
<EditorIndex Value="1"/>
|
<EditorIndex Value="1"/>
|
||||||
<TopLine Value="45"/>
|
<TopLine Value="45"/>
|
||||||
<CursorPos X="42" Y="72"/>
|
<CursorPos X="42" Y="69"/>
|
||||||
</ExtraEditor1>
|
</ExtraEditor1>
|
||||||
<ExtraEditor2>
|
<ExtraEditor2>
|
||||||
<EditorIndex Value="-1"/>
|
<EditorIndex Value="-1"/>
|
||||||
|
@ -51,15 +51,12 @@ const
|
|||||||
C_SOURCEFORGEURL =
|
C_SOURCEFORGEURL =
|
||||||
'https://sourceforge.net/projects/%s/files/%s/%s/download';
|
'https://sourceforge.net/projects/%s/files/%s/%s/download';
|
||||||
// [updatepath,projectname,filename]
|
// [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';
|
C_GITHUBFILE_URL = 'https://raw.github.com/%s/%s/%s/%s';
|
||||||
// https://raw.github.com/<username>/<repo>/<branch>/file
|
// https://raw.github.com/<username>/<repo>/<branch>/file
|
||||||
// GitHubUserName,GitHubProjectName,updatepath,filename
|
// GitHubUserName,GitHubProjectName,updatepath,filename
|
||||||
C_GITHUBFILE_URL_UPDATES = 'https://raw.github.com/%s/%s/%s/%s/%s';
|
C_GITHUBFILE_URL_UPDATES = 'https://raw.github.com/%s/%s/%s/%s/%s';
|
||||||
// https://raw.github.com/<username>/<repo>/<branch>/some_directory/file
|
// https://raw.github.com/<username>/<repo>/<branchname>/some_directory/file
|
||||||
C_GITHUBFILE_URL_TAGUPDATES = 'https://raw.github.com/%s/%s/%s/%s/%s';
|
// https://raw.github.com/<username>/<repo>/<tagname>/some_directory/file
|
||||||
// https://github.com/lazarusccr/TestApp/blob/updates/updates/testapplinux32.ini
|
|
||||||
// https://raw.github.com/<username>/<repo>/<branch>/some_directory/file
|
|
||||||
|
|
||||||
C_TLazAutoUpdateComponentVersion = '0.2.6';
|
C_TLazAutoUpdateComponentVersion = '0.2.6';
|
||||||
C_LAUTRayINI = 'lauimport.ini';
|
C_LAUTRayINI = 'lauimport.ini';
|
||||||
@ -196,6 +193,7 @@ resourcestring
|
|||||||
rsApplicationU = 'Application update';
|
rsApplicationU = 'Application update';
|
||||||
|
|
||||||
type
|
type
|
||||||
|
// Dummy thread to initialise the threading system
|
||||||
tc = class(tthread)
|
tc = class(tthread)
|
||||||
procedure Execute; override;
|
procedure Execute; override;
|
||||||
end;
|
end;
|
||||||
@ -215,10 +213,12 @@ type
|
|||||||
TThreadedDownload = class; // Forward declaration
|
TThreadedDownload = class; // Forward declaration
|
||||||
|
|
||||||
{TLAZAUTOUPDATE}
|
{TLAZAUTOUPDATE}
|
||||||
|
// Event declarations
|
||||||
TOnNewVersionAvailable = procedure(Sender: TObject; Newer: boolean;
|
TOnNewVersionAvailable = procedure(Sender: TObject; Newer: boolean;
|
||||||
OnlineVersion: string) of object;
|
OnlineVersion: string) of object;
|
||||||
TOnDownloaded = procedure(Sender: TObject; ResultCode, BytesDownloaded: integer) of
|
TOnDownloaded = procedure(Sender: TObject; ResultCode, BytesDownloaded: integer) of
|
||||||
object;
|
object;
|
||||||
|
// ToDo: TOnUpdated??
|
||||||
TOnDebugEvent = procedure(Sender: TObject; lauMethodName, lauMessage: string) of
|
TOnDebugEvent = procedure(Sender: TObject; lauMethodName, lauMessage: string) of
|
||||||
object;
|
object;
|
||||||
|
|
||||||
|
Binary file not shown.
@ -6,8 +6,8 @@
|
|||||||
},
|
},
|
||||||
"UpdatePackageFiles" : [
|
"UpdatePackageFiles" : [
|
||||||
{
|
{
|
||||||
"ForceNotify" : false,
|
"ForceNotify" : true,
|
||||||
"InternalVersion" : 2,
|
"InternalVersion" : 1,
|
||||||
"Name" : "lazupdate.lpk",
|
"Name" : "lazupdate.lpk",
|
||||||
"Version" : "0.2.6.0"
|
"Version" : "0.2.6.0"
|
||||||
}
|
}
|
||||||
|
Reference in New Issue
Block a user