Update README.md

This commit is contained in:
kek.of 2026-03-16 00:04:53 +05:00 committed by GitHub
parent 9bb1abfd1b
commit dad2381d95
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
1 changed files with 15 additions and 2 deletions

View File

@ -6,6 +6,13 @@ macOS-версия [tg-ws-proxy](https://github.com/Flowseal/tg-ws-proxy) с н
### Из исходников ### Из исходников
Для запуска python3.12 понадобится пакет [HomeBrew](https://brew.sh)
```bash
/bin/bash -c "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/HEAD/install.sh)"
```
```bash
brew install python@3.12
```
```bash ```bash
# Клонируй репозиторий # Клонируй репозиторий
git clone https://github.com/Flowseal/tg-ws-proxy git clone https://github.com/Flowseal/tg-ws-proxy
@ -14,10 +21,15 @@ cd tg-ws-proxy
# Перейди в папку с билдом macOS # Перейди в папку с билдом macOS
cd macos cd macos
# Установи зависимости # Создать виртуальное окружение
python3 -m venv venv
# Активировать его
source venv/bin/activate
# Установить зависимости
pip install -r requirements_macos.txt pip install -r requirements_macos.txt
# Запуск # Запустить
python macos.py python macos.py
``` ```
@ -28,6 +40,7 @@ pip install pyinstaller
pyinstaller macos.spec pyinstaller macos.spec
# Результат: dist/TgWsProxy.app # Результат: dist/TgWsProxy.app
``` ```
!!! Возможно потребуется единовременное отключение [SIP](https://anonim.xyz/go/https://appstorrent.ru/510-sip.html) для первого запуска
## GUI ## GUI