Skip to content

Commit

Permalink
Документация, и +- релиз
Browse files Browse the repository at this point in the history
  • Loading branch information
Kexi8BiT committed Apr 1, 2024
1 parent cf00f70 commit 5e4a694
Show file tree
Hide file tree
Showing 3 changed files with 27 additions and 10 deletions.
33 changes: 25 additions & 8 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,23 +1,40 @@
## Что-ж этим проектом я хотел помочь Сг стать более современнее, но к сожалению заморожен, возможно на всегда
## Проект разморожен

Это простой интерфейс лаунчера, без функцианала, можно добавлять свои игры и приложения
Это простой интерфейс лаунчера, можно добавлять свои игры и приложения

# Начало
# !!! Работает на Python 3.12 !!!
Для начала установите все зависимости
# Установка
**Убедитесь что у вас Python 3.12**

Клонируйте этот репозиторий
```commandline
git clone https://github.com/Kexi8BiT/SovaLaucher
cd SovaLaucher
```

Настройте venv и установите модули
```commandline
python -m venv venv
venv\Scripts\activate
pip install -r requirements.txt
```

После этого вы можете запустить приложение через
Запустите лаунчер
```commandline
flet run
```
Или

или

```commandline
python main.py
```

(если что в Настройки -> Изменить cdn пишите `https://sova.remeow.ru`)

# Все баги и предложения мне в лс или в Issue (бля как там)



# Структура
Структура максимально простая
```text
Expand Down Expand Up @@ -87,7 +104,7 @@ cdn_url: str # Базовый апи с которым работает лаун
{"params": [
{"type": "input", "in": "int", "name": "gb", "value": "5", "label": "Выделенная память, (Озу)"},
{"type": "check", "name": "debug", "value": true, "label": "Debug"},
{"type": "switch", "name": "join", "value": true, "label": "Сразу зайти на сервер"},
{"type": "switch", "name": "join", "value": true, "label": "Сразу зайти на сервер"}
]}
```

Expand Down
2 changes: 1 addition & 1 deletion internets.py
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ def check_api(url: str) -> bool:
"""
Функция для проверки работы нового api
```python
check_api("http://127.0.0.1:8000") -> Fasle/TRue
check_api("https://sova.remeow.ru") -> Fasle/TRue
```
:param url:
:return:
Expand Down
2 changes: 1 addition & 1 deletion settings_page.py
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ def go_to_settings(content, page: ft.Page):
def get_settings_page(page: ft.Page):
cdn = page.client_storage.get("cdn_url")
if cdn == None:
page.client_storage.set("cdn_url", "http://127.0.0.1:8000")
page.client_storage.set("cdn_url", "https://sova.remeow.ru")
print("CDN - УСТАНОВЛЕННО")
def edit_cdn(e):
def close(e):
Expand Down

0 comments on commit 5e4a694

Please sign in to comment.