Fix
This commit is contained in:
parent
c2a8d8b109
commit
166aac31c7
|
@ -1,7 +1,15 @@
|
||||||
<?xml version="1.0" encoding="UTF-8"?>
|
<?xml version="1.0" encoding="UTF-8"?>
|
||||||
<project version="4">
|
<project version="4">
|
||||||
<component name="ChangeListManager">
|
<component name="ChangeListManager">
|
||||||
<list default="true" id="e692128d-c507-4123-b92b-96e6e5af92d3" name="Default Changelist" comment="" />
|
<list default="true" id="e692128d-c507-4123-b92b-96e6e5af92d3" name="Default Changelist" comment="">
|
||||||
|
<change afterPath="$PROJECT_DIR$/.idea/PythonVPNGateway.iml" afterDir="false" />
|
||||||
|
<change afterPath="$PROJECT_DIR$/.idea/misc.xml" afterDir="false" />
|
||||||
|
<change afterPath="$PROJECT_DIR$/.idea/modules.xml" afterDir="false" />
|
||||||
|
<change afterPath="$PROJECT_DIR$/.idea/vcs.xml" afterDir="false" />
|
||||||
|
<change afterPath="$PROJECT_DIR$/.idea/workspace.xml" afterDir="false" />
|
||||||
|
<change beforePath="$PROJECT_DIR$/pyVPN.py" beforeDir="false" />
|
||||||
|
<change beforePath="$PROJECT_DIR$/pyvpn" beforeDir="false" afterPath="$PROJECT_DIR$/pyvpn" afterDir="false" />
|
||||||
|
</list>
|
||||||
<option name="EXCLUDED_CONVERTED_TO_IGNORED" value="true" />
|
<option name="EXCLUDED_CONVERTED_TO_IGNORED" value="true" />
|
||||||
<option name="SHOW_DIALOG" value="false" />
|
<option name="SHOW_DIALOG" value="false" />
|
||||||
<option name="HIGHLIGHT_CONFLICTS" value="true" />
|
<option name="HIGHLIGHT_CONFLICTS" value="true" />
|
||||||
|
@ -23,10 +31,10 @@
|
||||||
</entry>
|
</entry>
|
||||||
</file>
|
</file>
|
||||||
<file pinned="false" current-in-tab="true">
|
<file pinned="false" current-in-tab="true">
|
||||||
<entry file="file://$PROJECT_DIR$/pyVPN.py">
|
<entry file="file://$PROJECT_DIR$/pyvpn">
|
||||||
<provider selected="true" editor-type-id="text-editor">
|
<provider selected="true" editor-type-id="text-editor">
|
||||||
<state relative-caret-position="440">
|
<state relative-caret-position="360">
|
||||||
<caret line="26" column="24" selection-start-line="26" selection-start-column="24" selection-end-line="26" selection-end-column="24" />
|
<caret line="28" column="39" selection-start-line="28" selection-start-column="39" selection-end-line="28" selection-end-column="39" />
|
||||||
</state>
|
</state>
|
||||||
</provider>
|
</provider>
|
||||||
</entry>
|
</entry>
|
||||||
|
@ -44,6 +52,7 @@
|
||||||
<option value="$PROJECT_DIR$/pyVPN.py" />
|
<option value="$PROJECT_DIR$/pyVPN.py" />
|
||||||
<option value="$PROJECT_DIR$/.env" />
|
<option value="$PROJECT_DIR$/.env" />
|
||||||
<option value="$PROJECT_DIR$/README.md" />
|
<option value="$PROJECT_DIR$/README.md" />
|
||||||
|
<option value="$PROJECT_DIR$/pyvpn" />
|
||||||
</list>
|
</list>
|
||||||
</option>
|
</option>
|
||||||
</component>
|
</component>
|
||||||
|
@ -54,7 +63,7 @@
|
||||||
</list>
|
</list>
|
||||||
</option>
|
</option>
|
||||||
</component>
|
</component>
|
||||||
<component name="ProjectFrameBounds" extendedState="7">
|
<component name="ProjectFrameBounds" extendedState="6">
|
||||||
<option name="x" value="260" />
|
<option name="x" value="260" />
|
||||||
<option name="y" value="20" />
|
<option name="y" value="20" />
|
||||||
<option name="width" value="1400" />
|
<option name="width" value="1400" />
|
||||||
|
@ -82,6 +91,7 @@
|
||||||
</component>
|
</component>
|
||||||
<component name="PropertiesComponent">
|
<component name="PropertiesComponent">
|
||||||
<property name="ASKED_SHARE_PROJECT_CONFIGURATION_FILES" value="true" />
|
<property name="ASKED_SHARE_PROJECT_CONFIGURATION_FILES" value="true" />
|
||||||
|
<property name="SHARE_PROJECT_CONFIGURATION_FILES" value="true" />
|
||||||
<property name="settings.editor.selected.configurable" value="editor.preferences.fonts.default" />
|
<property name="settings.editor.selected.configurable" value="editor.preferences.fonts.default" />
|
||||||
</component>
|
</component>
|
||||||
<component name="RunDashboard">
|
<component name="RunDashboard">
|
||||||
|
@ -132,15 +142,14 @@
|
||||||
<servers />
|
<servers />
|
||||||
</component>
|
</component>
|
||||||
<component name="ToolWindowManager">
|
<component name="ToolWindowManager">
|
||||||
<frame x="0" y="0" width="1920" height="1037" extended-state="7" />
|
<frame x="0" y="0" width="1920" height="1037" extended-state="6" />
|
||||||
<editor active="true" />
|
|
||||||
<layout>
|
<layout>
|
||||||
<window_info id="Favorites" side_tool="true" />
|
<window_info id="Favorites" side_tool="true" />
|
||||||
<window_info content_ui="combo" id="Project" order="0" visible="true" weight="0.18133895" />
|
<window_info content_ui="combo" id="Project" order="0" visible="true" weight="0.18133895" />
|
||||||
<window_info id="Structure" order="1" side_tool="true" weight="0.25" />
|
<window_info id="Structure" order="1" side_tool="true" weight="0.25" />
|
||||||
<window_info anchor="bottom" id="Version Control" />
|
<window_info anchor="bottom" id="Version Control" />
|
||||||
<window_info anchor="bottom" id="Python Console" weight="0.32963374" />
|
<window_info anchor="bottom" id="Python Console" weight="0.32963374" />
|
||||||
<window_info anchor="bottom" id="Terminal" weight="0.32852387" />
|
<window_info active="true" anchor="bottom" id="Terminal" visible="true" weight="0.32852387" />
|
||||||
<window_info anchor="bottom" id="Event Log" side_tool="true" />
|
<window_info anchor="bottom" id="Event Log" side_tool="true" />
|
||||||
<window_info anchor="bottom" id="Message" order="0" />
|
<window_info anchor="bottom" id="Message" order="0" />
|
||||||
<window_info anchor="bottom" id="Find" order="1" />
|
<window_info anchor="bottom" id="Find" order="1" />
|
||||||
|
@ -215,8 +224,15 @@
|
||||||
</entry>
|
</entry>
|
||||||
<entry file="file://$PROJECT_DIR$/pyVPN.py">
|
<entry file="file://$PROJECT_DIR$/pyVPN.py">
|
||||||
<provider selected="true" editor-type-id="text-editor">
|
<provider selected="true" editor-type-id="text-editor">
|
||||||
<state relative-caret-position="440">
|
<state relative-caret-position="380">
|
||||||
<caret line="26" column="24" selection-start-line="26" selection-start-column="24" selection-end-line="26" selection-end-column="24" />
|
<caret line="29" column="28" lean-forward="true" selection-start-line="29" selection-start-column="28" selection-end-line="29" selection-end-column="28" />
|
||||||
|
</state>
|
||||||
|
</provider>
|
||||||
|
</entry>
|
||||||
|
<entry file="file://$PROJECT_DIR$/pyvpn">
|
||||||
|
<provider selected="true" editor-type-id="text-editor">
|
||||||
|
<state relative-caret-position="360">
|
||||||
|
<caret line="28" column="39" selection-start-line="28" selection-start-column="39" selection-end-line="28" selection-end-column="39" />
|
||||||
</state>
|
</state>
|
||||||
</provider>
|
</provider>
|
||||||
</entry>
|
</entry>
|
||||||
|
|
3
pyvpn
3
pyvpn
|
@ -25,8 +25,11 @@ if len(sys.argv) > 2:
|
||||||
configFilePath = operatingDir + "/" + clientName + ".ovpn"
|
configFilePath = operatingDir + "/" + clientName + ".ovpn"
|
||||||
|
|
||||||
fScript.expect("[1-4]:")
|
fScript.expect("[1-4]:")
|
||||||
|
|
||||||
fScript.sendline("1")
|
fScript.sendline("1")
|
||||||
|
|
||||||
fScript.expect("Client name: ")
|
fScript.expect("Client name: ")
|
||||||
|
|
||||||
fScript.sendline(clientName)
|
fScript.sendline(clientName)
|
||||||
|
|
||||||
fScript.kill(0)
|
fScript.kill(0)
|
||||||
|
|
Loading…
Reference in New Issue