diff --git a/.idea/workspace.xml b/.idea/workspace.xml
index 4b453bc..fb2f17d 100644
--- a/.idea/workspace.xml
+++ b/.idea/workspace.xml
@@ -4,75 +4,10 @@
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
+
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
+
+
@@ -106,23 +41,23 @@
- {
+ "keyToString": {
+ "ASKED_ADD_EXTERNAL_FILES": "true",
+ "Python.INSTALL.executor": "Run",
+ "Python.install.executor": "Run",
+ "Python.main.executor": "Run",
+ "Python.messagebox.executor": "Run",
+ "Python.start_wg.executor": "Run",
+ "Python.wg_func.executor": "Run",
+ "Python.wg_main.executor": "Run",
+ "RunOnceActivity.ShowReadmeOnStart": "true",
+ "Shell Script.install.executor": "Run",
+ "git-widget-placeholder": "main",
+ "last_opened_file_path": "/home/punix/Pyapps/wire-py",
+ "settings.editor.selected.configurable": "preferences.fileTypes"
}
-}]]>
+}
@@ -455,9 +390,20 @@
1726599446538
-
+
+
+ 1726599588155
+
+
+
+ 1726599588155
+
+
+
+
+
-
@@ -518,6 +463,7 @@
-
+
+
\ No newline at end of file
diff --git a/org.wirepy.policy b/org.wirepy.policy
index 4890f23..7b65957 100644
--- a/org.wirepy.policy
+++ b/org.wirepy.policy
@@ -10,7 +10,7 @@
auth_admin_keep
yes
- /usr/bin/wire-py/main.py
+ /usr/bin/wire-py/wg_main.py
true
diff --git a/wg_main.py b/wg_main.py
index 5ac41f1..992c723 100755
--- a/wg_main.py
+++ b/wg_main.py
@@ -159,13 +159,13 @@ class FrameWidgets(ttk.Frame):
if select_tl == a_con:
self.selected_option.set(0)
self.autoconnect_var.set('no Autoconnect')
+ self.wg_autostart.configure(state='disabled')
Path.unlink(path_to_file)
Path.unlink(Path('/etc/wire_py') / str(select_tl + '.conf'))
# for disable checkbox when Listbox empty
tl = ListTunnels.tl_list()
if len(tl) == 0:
self.wg_autostart.configure(state='disabled')
- Path.unlink(path_to_file)
if self.a != '' and self.a == select_tl:
self.StrVar.set(value='')