Замена xterm на fly-term
Убраны значки info не поддерживаемыев Astra
This commit is contained in:
+1
-1
@@ -188,7 +188,7 @@ class AdminHelper:
|
||||
|
||||
elif ext == 'sh':
|
||||
os.chmod(tmp_path, 0o755)
|
||||
subprocess.Popen(['xterm', '-e', tmp_path])
|
||||
subprocess.Popen(['fly-term', '--hide-menubar', '--hide-tabbar', '-e', tmp_path])
|
||||
|
||||
else:
|
||||
messagebox.showwarning("Внимание", f"Неизвестный тип файла: {ext}")
|
||||
|
||||
Reference in New Issue
Block a user