mirror of
https://gitlab.com/freepascal.org/lazarus/lazarus.git
synced 2025-06-06 19:38:24 +02:00
Version number added to the config file.
git-svn-id: trunk@53446 -
This commit is contained in:
parent
e6e3bd4ae8
commit
473cde7526
@ -29,6 +29,9 @@ interface
|
|||||||
uses
|
uses
|
||||||
Classes, SysUtils, LazIDEIntf, Laz2_XMLCfg, LazFileUtils;
|
Classes, SysUtils, LazIDEIntf, Laz2_XMLCfg, LazFileUtils;
|
||||||
|
|
||||||
|
const
|
||||||
|
Version = 1;
|
||||||
|
|
||||||
type
|
type
|
||||||
{ TOptions }
|
{ TOptions }
|
||||||
TProxySettings = record
|
TProxySettings = record
|
||||||
@ -130,6 +133,7 @@ end;
|
|||||||
|
|
||||||
procedure TOptions.Save;
|
procedure TOptions.Save;
|
||||||
begin
|
begin
|
||||||
|
FXML.SetDeleteValue('Version/Value', Version, 0);
|
||||||
FXML.SetDeleteValue('General/RemoteRepository/Value', FRemoteRepository, '');
|
FXML.SetDeleteValue('General/RemoteRepository/Value', FRemoteRepository, '');
|
||||||
FXML.SetDeleteValue('General/ForceDownloadAndExtract/Value', FForceDownloadAndExtract, True);
|
FXML.SetDeleteValue('General/ForceDownloadAndExtract/Value', FForceDownloadAndExtract, True);
|
||||||
FXML.SetDeleteValue('General/DeleteZipAfterInstall/Value', FDeleteZipAfterInstall, True);
|
FXML.SetDeleteValue('General/DeleteZipAfterInstall/Value', FDeleteZipAfterInstall, True);
|
||||||
|
Loading…
Reference in New Issue
Block a user