Исправь статус модулей VPN-приложения
This commit is contained in:
12
README.md
12
README.md
@@ -97,7 +97,7 @@ curl -fsSL https://example.org/dokril/lemana-vpn/raw/branch/main/install.sh \
|
||||
|
||||
```sh
|
||||
vpn --status
|
||||
Modules: core=ok, bitwarden=on, touchid=on, dns=on, patches=active, keychain=password:yes/totp_seed:yes
|
||||
Modules: core=ok, bitwarden=on, touchid=on, dns=on, app=on, autostart=on, patches=active, keychain=password:yes/totp_seed:yes
|
||||
VPN disconnected
|
||||
```
|
||||
|
||||
@@ -111,6 +111,8 @@ VPN disconnected
|
||||
| `bitwarden=missing` | Модуль включён, но `bw` не найден |
|
||||
| `touchid=on/off/missing` | Состояние Touch ID helper |
|
||||
| `dns=on/missing` | Наличие DNS cleanup wrapper |
|
||||
| `app=on/missing` | Установлен ли `~/Applications/LemanaVPN.app` |
|
||||
| `autostart=on/off` | Есть ли LaunchAgent для запуска приложения при логине |
|
||||
| `patches=active/pending` | Применены ли runtime-патчи `openconnect-lite` |
|
||||
| `keychain=password:yes/totp_seed:yes` | Есть ли LDAP-пароль и TOTP seed в Keychain |
|
||||
|
||||
@@ -131,12 +133,12 @@ Detected state:
|
||||
openconnect-lite: yes
|
||||
Bitwarden CLI: no
|
||||
Touch ID helper: no
|
||||
Swift: yes
|
||||
Menu Bar app: no
|
||||
LaunchAgent: no
|
||||
DNS cleanup: no
|
||||
sudoers: no/no
|
||||
shell aliases: no
|
||||
Swift: yes
|
||||
Menu Bar app: no
|
||||
LaunchAgent: no
|
||||
Keychain password: no
|
||||
Keychain TOTP seed: no
|
||||
```
|
||||
@@ -236,6 +238,8 @@ sh install.sh --without-touchid
|
||||
|
||||
Приложение живёт в macOS status bar, запускает `~/bin/vpn-lemanapro.sh --json`, показывает состояние VPN, IP, оставшееся время сессии, health-check тоннеля и строку состояния модулей.
|
||||
|
||||
Если в меню видно `modules unavailable: update CLI`, значит запущенное приложение обращается к старому `~/bin/vpn-lemanapro.sh`, который ещё не умеет отдавать модульный статус. Повтори установку через `curl`; установщик обновит CLI и перезапустит уже запущенное `LemanaVPN.app`.
|
||||
|
||||
Для сборки нужен Swift 5.9+ из Xcode Command Line Tools:
|
||||
|
||||
```sh
|
||||
|
||||
Reference in New Issue
Block a user