Update README.md
This commit is contained in:
parent
9bb1abfd1b
commit
dad2381d95
|
|
@ -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
|
||||
# Клонируй репозиторий
|
||||
git clone https://github.com/Flowseal/tg-ws-proxy
|
||||
|
|
@ -14,10 +21,15 @@ cd tg-ws-proxy
|
|||
# Перейди в папку с билдом macOS
|
||||
cd macos
|
||||
|
||||
# Установи зависимости
|
||||
# Создать виртуальное окружение
|
||||
python3 -m venv venv
|
||||
# Активировать его
|
||||
source venv/bin/activate
|
||||
|
||||
# Установить зависимости
|
||||
pip install -r requirements_macos.txt
|
||||
|
||||
# Запуск
|
||||
# Запустить
|
||||
python macos.py
|
||||
```
|
||||
|
||||
|
|
@ -28,6 +40,7 @@ pip install pyinstaller
|
|||
pyinstaller macos.spec
|
||||
# Результат: dist/TgWsProxy.app
|
||||
```
|
||||
!!! Возможно потребуется единовременное отключение [SIP](https://anonim.xyz/go/https://appstorrent.ru/510-sip.html) для первого запуска
|
||||
|
||||
## GUI
|
||||
|
||||
|
|
|
|||
Loading…
Reference in New Issue