To 0.3.0.0

git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@5701 8e941d3f-bd1b-0410-a28a-d453659cc2b4
This commit is contained in:
gbamber
2017-01-25 23:14:40 +00:00
parent ecc7d99991
commit 9b0bee5d5b
6 changed files with 29 additions and 21 deletions

View File

@ -60,7 +60,7 @@ More information in the Wiki Home Page http://wiki.freepascal.org/LazAutoUpdater
along with this library; if not, write to the Free Software Foundation,
Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
"/>
<Version Minor="2" Release="9"/>
<Version Minor="3"/>
<Files Count="6">
<Item1>
<Filename Value="ulazautoupdate.pas"/>

View File

@ -20,7 +20,6 @@
<VersionInfo>
<UseVersionInfo Value="True"/>
<RevisionNr Value="1"/>
<BuildNr Value="1"/>
<StringTable ProductVersion="0.0.0.0"/>
</VersionInfo>
<BuildModes Count="5">
@ -88,6 +87,11 @@
</Win32>
</Options>
</Linking>
<Other>
<OtherDefines Count="1">
<Define0 Value="DEBUGMODE"/>
</OtherDefines>
</Other>
</CompilerOptions>
</Item3>
<Item4 Name="Linux32">

View File

@ -10,7 +10,7 @@
<IsPartOfProject Value="True"/>
<EditorIndex Value="2"/>
<CursorPos X="25" Y="28"/>
<UsageCount Value="55"/>
<UsageCount Value="56"/>
<Loaded Value="True"/>
</Unit0>
<Unit1>
@ -19,9 +19,10 @@
<ComponentName Value="mainform"/>
<HasResources Value="True"/>
<ResourceBaseClass Value="Form"/>
<TopLine Value="59"/>
<CursorPos X="4" Y="108"/>
<UsageCount Value="55"/>
<IsVisibleTab Value="True"/>
<TopLine Value="8"/>
<CursorPos X="55" Y="40"/>
<UsageCount Value="56"/>
<Loaded Value="True"/>
<LoadedDesigner Value="True"/>
</Unit1>
@ -32,7 +33,7 @@
<WindowIndex Value="1"/>
<TopLine Value="31"/>
<CursorPos X="48" Y="14"/>
<UsageCount Value="38"/>
<UsageCount Value="39"/>
</Unit2>
<Unit3>
<Filename Value="..\lazautoupdate_httpclient.pas"/>
@ -42,15 +43,15 @@
</Unit3>
<Unit4>
<Filename Value="..\ulazautoupdate.pas"/>
<IsVisibleTab Value="True"/>
<WindowIndex Value="1"/>
<TopLine Value="216"/>
<CursorPos X="50" Y="236"/>
<TopLine Value="221"/>
<CursorPos X="50" Y="241"/>
<ExtraEditorCount Value="2"/>
<ExtraEditor1>
<IsVisibleTab Value="True"/>
<EditorIndex Value="1"/>
<TopLine Value="478"/>
<CursorPos X="28" Y="502"/>
<TopLine Value="2024"/>
<CursorPos X="66" Y="2039"/>
</ExtraEditor1>
<ExtraEditor2>
<EditorIndex Value="-1"/>
@ -58,7 +59,7 @@
<TopLine Value="-1"/>
<CursorPos X="-1" Y="-1"/>
</ExtraEditor2>
<UsageCount Value="27"/>
<UsageCount Value="28"/>
<Loaded Value="True"/>
</Unit4>
<Unit5>
@ -141,12 +142,11 @@
</Unit15>
<Unit16>
<Filename Value="..\updatehmsource\updatehm.lpr"/>
<IsVisibleTab Value="True"/>
<EditorIndex Value="1"/>
<WindowIndex Value="1"/>
<TopLine Value="132"/>
<CursorPos X="6" Y="338"/>
<UsageCount Value="17"/>
<UsageCount Value="18"/>
<Loaded Value="True"/>
</Unit16>
<Unit17>

View File

@ -138,7 +138,7 @@ const
V0.2.9: Added CreateLocalLauImportFile in UpdateToNewVersion
V0.3.0: ??
}
C_TLazAutoUpdateComponentVersion = '0.2.9';
C_TLazAutoUpdateComponentVersion = '0.3.0';
C_TThreadedDownloadComponentVersion = '0.0.3';
{
V0.0.1: Initial alpha
@ -168,8 +168,13 @@ const
C_BITNESS = '64';
{$ENDIF}
C_PFX = C_OS + C_BITNESS; // Used in file naming
C_UPDATEHMNAME = 'updatehm' + C_PFX;
C_LAUUPDATENAME = 'lauupdate' + C_PFX;
{$IFDEF WINDOWS}
C_UPDATEHMNAME = 'updatehm' + C_PFX + '.exe';
C_LAUUPDATENAME = 'lauupdate' + C_PFX + '.exe';
{$ELSE}
C_UPDATEHMNAME = 'updatehm' + C_PFX;
C_LAUUPDATENAME = 'lauupdate' + C_PFX;
{$ENDIF}
// Windows Constants (unused)
C_RUNONCEKEY = 'HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\RunOnce';
C_RUNKEY = 'HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Run';
@ -2000,7 +2005,6 @@ begin
if fFireDebugEvent then
fOndebugEvent(Self, 'UpdateToNewVersion', 'RunAsAdmin failed');
end;
CreateLocalLauImportFile; // Creates a new import file in GetAppConfigDirUTF8
// Check for C_WhatsNewFilename in the app directory in a LOOP
if fFireDebugEvent then
fOndebugEvent(Self, 'UpdateToNewVersion',
@ -2041,7 +2045,6 @@ begin
'Error %d: Run this application in Administrator mode or turn off UAC',
[GetLastOSError]);
end;
CreateLocalLauImportFile; // Creates a new import file in GetAppConfigDirUTF8
// Check for C_WhatsNewFilename in the app directory in a LOOP
if fFireDebugEvent then
fOndebugEvent(Self, 'UpdateToNewVersion',
@ -2057,6 +2060,7 @@ begin
FUpdateHMProcess.Free;
end;
{$ENDIF}
CreateLocalLauImportFile; // Creates a new import file in GetAppConfigDirUTF8
if fFireDebugEvent then
fOndebugEvent(Self, 'UpdateToNewVersion',
'Success');

View File

@ -9,7 +9,7 @@
"ForceNotify" : false,
"InternalVersion" : 1,
"Name" : "lazupdate.lpk",
"Version" : "0.2.9.0"
"Version" : "0.3.0.0"
}
]
}