Compare commits

...

2 Commits

Author SHA1 Message Date
marcusH 31a68561b3 gitignore für .venv/__pycache__, generierte Dateien aus Index entfernen, --no-xmlpost 2026-06-21 11:43:34 +02:00
marcusH a89c3df49b änderungen für mac 2026-06-21 11:40:15 +02:00
4 changed files with 21 additions and 0 deletions
+2
View File
@@ -0,0 +1,2 @@
__pycache__/
.venv/
Binary file not shown.
Executable
+18
View File
@@ -0,0 +1,18 @@
#!/usr/bin/env bash
set -euo pipefail
cd "$(dirname "$0")"
VENV=".venv"
if [[ ! -d "$VENV" ]]; then
echo "Lege venv an ..."
python3 -m venv "$VENV"
fi
if ! "$VENV/bin/python" -c "import PyQt6" 2>/dev/null; then
echo "Installiere PyQt6 ..."
"$VENV/bin/pip" install --quiet --upgrade pip
"$VENV/bin/pip" install --quiet PyQt6
fi
exec "$VENV/bin/python" wuerth_vpn "$@"
+1
View File
@@ -135,6 +135,7 @@ class VpnWorker(QObject):
cmd = [ cmd = [
"sudo", "-kS", "openconnect", "sudo", "-kS", "openconnect",
"--protocol=anyconnect", "--protocol=anyconnect",
"--no-xmlpost",
"--user", self.user, "--user", self.user,
"--passwd-on-stdin", "--passwd-on-stdin",
"--pid-file", PIDFILE, "--pid-file", PIDFILE,