diff --git a/components/lazautoupdate/latest_stable/lazupdate.lpk b/components/lazautoupdate/latest_stable/lazupdate.lpk index a5b55958d..18bce7ed7 100644 --- a/components/lazautoupdate/latest_stable/lazupdate.lpk +++ b/components/lazautoupdate/latest_stable/lazupdate.lpk @@ -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. "/> - + diff --git a/components/lazautoupdate/latest_stable/testapp/testapp.lpi b/components/lazautoupdate/latest_stable/testapp/testapp.lpi index 12af42e76..84d0225c7 100644 --- a/components/lazautoupdate/latest_stable/testapp/testapp.lpi +++ b/components/lazautoupdate/latest_stable/testapp/testapp.lpi @@ -20,7 +20,6 @@ - @@ -88,6 +87,11 @@ + + + + + diff --git a/components/lazautoupdate/latest_stable/testapp/testapp.lps b/components/lazautoupdate/latest_stable/testapp/testapp.lps index 06b2c1fca..0e6d60665 100644 --- a/components/lazautoupdate/latest_stable/testapp/testapp.lps +++ b/components/lazautoupdate/latest_stable/testapp/testapp.lps @@ -10,7 +10,7 @@ - + @@ -19,9 +19,10 @@ - - - + + + + @@ -32,7 +33,7 @@ - + @@ -42,15 +43,15 @@ + - - + + - - - + + @@ -58,7 +59,7 @@ - + @@ -141,12 +142,11 @@ - - + diff --git a/components/lazautoupdate/latest_stable/testapp/testapp.res b/components/lazautoupdate/latest_stable/testapp/testapp.res index cc828d2c5..2feb20d57 100644 Binary files a/components/lazautoupdate/latest_stable/testapp/testapp.res and b/components/lazautoupdate/latest_stable/testapp/testapp.res differ diff --git a/components/lazautoupdate/latest_stable/ulazautoupdate.pas b/components/lazautoupdate/latest_stable/ulazautoupdate.pas index 9f88b5388..4a237be91 100644 --- a/components/lazautoupdate/latest_stable/ulazautoupdate.pas +++ b/components/lazautoupdate/latest_stable/ulazautoupdate.pas @@ -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'); diff --git a/components/lazautoupdate/latest_stable/updates/update_lazautoupdate.json b/components/lazautoupdate/latest_stable/updates/update_lazautoupdate.json index 81334b0fe..e7e7f05fd 100644 --- a/components/lazautoupdate/latest_stable/updates/update_lazautoupdate.json +++ b/components/lazautoupdate/latest_stable/updates/update_lazautoupdate.json @@ -9,7 +9,7 @@ "ForceNotify" : false, "InternalVersion" : 1, "Name" : "lazupdate.lpk", - "Version" : "0.2.9.0" + "Version" : "0.3.0.0" } ] }