From 4d06ea0b67b3d4b1926ecf11f37378c69c0ceaad Mon Sep 17 00:00:00 2001 From: AKotov-dev Date: Wed, 3 Aug 2022 15:30:50 +0300 Subject: [PATCH] v0.6 + Prevention the launch of the second copy of the program --- openvpngui/backup/openvpngui.lpi | 2 +- openvpngui/backup/openvpngui.lps | 23 ++++++-------- openvpngui/backup/openvpngui.pas | 2 +- openvpngui/openvpngui.lps | 16 ++++------ openvpngui/package-project/openvpngui.prj | 37 ++++++++++++----------- 5 files changed, 37 insertions(+), 43 deletions(-) diff --git a/openvpngui/backup/openvpngui.lpi b/openvpngui/backup/openvpngui.lpi index 27d7cef..28ef769 100644 --- a/openvpngui/backup/openvpngui.lpi +++ b/openvpngui/backup/openvpngui.lpi @@ -7,7 +7,7 @@ - + <Title Value="OpenVPN-GUI v0.6"/> <Scaled Value="True"/> <ResourceType Value="res"/> <UseXPManifest Value="True"/> diff --git a/openvpngui/backup/openvpngui.lps b/openvpngui/backup/openvpngui.lps index a4b3adb..960ec13 100644 --- a/openvpngui/backup/openvpngui.lps +++ b/openvpngui/backup/openvpngui.lps @@ -39,9 +39,9 @@ <Filename Value="openvpngui.pas"/> <IsPartOfProject Value="True"/> <IsVisibleTab Value="True"/> - <CursorPos X="3" Y="10"/> + <EditorIndex Value="-1"/> + <CursorPos X="23" Y="2"/> <UsageCount Value="92"/> - <Loaded Value="True"/> </Unit0> <Unit1> <Filename Value="unit1.pas"/> @@ -49,20 +49,17 @@ <ComponentName Value="MainForm"/> <HasResources Value="True"/> <ResourceBaseClass Value="Form"/> - <EditorIndex Value="1"/> - <CursorPos X="27" Y="3"/> + <EditorIndex Value="-1"/> + <CursorPos X="43" Y="63"/> <UsageCount Value="92"/> - <Loaded Value="True"/> - <LoadedDesigner Value="True"/> </Unit1> <Unit2> <Filename Value="pingtrd.pas"/> <IsPartOfProject Value="True"/> <UnitName Value="PingTRD"/> - <EditorIndex Value="2"/> + <EditorIndex Value="-1"/> <CursorPos X="33" Y="3"/> <UsageCount Value="31"/> - <Loaded Value="True"/> </Unit2> <Unit3> <Filename Value="about_unit.pas"/> @@ -82,12 +79,10 @@ <UsageCount Value="41"/> </Unit4> </Units> - <JumpHistory Count="1"> - <Position1> - <Filename Value="openvpngui.pas"/> - <Caret Line="47" Column="12" TopLine="25"/> - </Position1> - </JumpHistory> + <General> + <ActiveWindowIndexAtStart Value="-1"/> + </General> + <JumpHistory HistoryIndex="-1"/> <RunParams> <FormatVersion Value="2"/> <Modes ActiveMode="default"/> diff --git a/openvpngui/backup/openvpngui.pas b/openvpngui/backup/openvpngui.pas index a468421..026ab94 100644 --- a/openvpngui/backup/openvpngui.pas +++ b/openvpngui/backup/openvpngui.pas @@ -47,7 +47,7 @@ PID.Free; //--- - Application.Title:='OpenVPN-GUI v0.5'; + Application.Title:='OpenVPN-GUI v0.6'; RequireDerivedFormResource := True; Application.Scaled:=True; Application.Initialize; diff --git a/openvpngui/openvpngui.lps b/openvpngui/openvpngui.lps index e9283c9..3d3e3b8 100644 --- a/openvpngui/openvpngui.lps +++ b/openvpngui/openvpngui.lps @@ -39,7 +39,8 @@ <Filename Value="openvpngui.pas"/> <IsPartOfProject Value="True"/> <IsVisibleTab Value="True"/> - <CursorPos X="23" Y="2"/> + <EditorIndex Value="1"/> + <CursorPos Y="15"/> <UsageCount Value="92"/> <Loaded Value="True"/> </Unit0> @@ -49,7 +50,7 @@ <ComponentName Value="MainForm"/> <HasResources Value="True"/> <ResourceBaseClass Value="Form"/> - <EditorIndex Value="1"/> + <TopLine Value="29"/> <CursorPos X="43" Y="63"/> <UsageCount Value="92"/> <Loaded Value="True"/> @@ -59,10 +60,10 @@ <Filename Value="pingtrd.pas"/> <IsPartOfProject Value="True"/> <UnitName Value="PingTRD"/> - <EditorIndex Value="2"/> + <EditorIndex Value="-1"/> + <TopLine Value="28"/> <CursorPos X="33" Y="3"/> <UsageCount Value="31"/> - <Loaded Value="True"/> </Unit2> <Unit3> <Filename Value="about_unit.pas"/> @@ -82,12 +83,7 @@ <UsageCount Value="41"/> </Unit4> </Units> - <JumpHistory Count="1"> - <Position1> - <Filename Value="openvpngui.pas"/> - <Caret Line="47" Column="12" TopLine="25"/> - </Position1> - </JumpHistory> + <JumpHistory HistoryIndex="-1"/> <RunParams> <FormatVersion Value="2"/> <Modes ActiveMode="default"/> diff --git a/openvpngui/package-project/openvpngui.prj b/openvpngui/package-project/openvpngui.prj index 885f1e8..bd4f5a0 100644 --- a/openvpngui/package-project/openvpngui.prj +++ b/openvpngui/package-project/openvpngui.prj @@ -2,7 +2,7 @@ name=openvpngui [VERSION] -version=0.5 +version=0.6 [RELEASE] release=0.mrx9 @@ -80,20 +80,23 @@ toolversion=2.2.0 [INFO] 0=To build this program, Lazarus 2.2.0 is required 1= -2=v0.5 -3=+ Fixed: double-click on an empty configuration list -4=+ The message about the absence of a log file has been deleted -5=+ Multiple configuration loading (Ctrl+Mouse) -6=+ Сosmetic edits, hints, etc... -7= -8=v0.4 -9=+ Improved response (separation of execution threads) -10=+ Releasing the vpn interface in case of connection failures -11=+ DblClick in the list of configurations - Start VPN -12= -13=v0.3 -14=+ code optimization +2=v0.6 +3=+ Prevention the launch of the second copy of the program +4= +5=v0.5 +6=+ Fixed: double-click on an empty configuration list +7=+ The message about the absence of a log file has been deleted +8=+ Multiple configuration loading (Ctrl+Mouse) +9=+ Сosmetic edits, hints, etc... +10= +11=v0.4 +12=+ Improved response (separation of execution threads) +13=+ Releasing the vpn interface in case of connection failures +14=+ DblClick in the list of configurations - Start VPN 15= -16=v0.2 -17=+ scaling in Plasma -18=+ configurations with and without passwords +16=v0.3 +17=+ code optimization +18= +19=v0.2 +20=+ scaling in Plasma +21=+ configurations with and without passwords