Update README.md

This commit is contained in:
wei
2026-08-25 18:17:12 +08:00
parent 26c3dd78ab
commit 4e3bebd136
+20 -11
View File
@@ -1,30 +1,39 @@
# PlaylistSaver # PlaylistSaver
A tool to save your youtube playlist. **VERY UNSTABLE** A tool to save your YouTube playlist.
## Development ## Run from source
Create a virtual environment and install the project with its build tools: Sync project and install dependencies.
```bash
```powershell uv sync
python -m venv .venv
.\.venv\Scripts\python.exe -m pip install -e ".[build]"
``` ```
Run from source: Run from source:
```powershell ```bash
.\.venv\Scripts\playlist-saver.exe python main.py
``` ```
## Build ## Build
Build the application with PyInstaller: > [!IMPORTANT]
> This project does not support Nuitka for building. Some packages used in this project, such as mpv and yt-dlp,
> may not be able to function or may cause crashes in the building process.
Install build tools:
```bash
uv pip install -e ".[build]"
```
Build this project with PyInstaller:
```powershell ```powershell
.\build.ps1 -Clean .\build.ps1 -Clean
``` ```
The application is written to `dist\PlaylistSaver`. The build includes only the The build is written to `dist\PlaylistSaver`. This includes only the
bundled mpv files matching the operating system and CPU architecture on which the bundled mpv files matching the operating system and CPU architecture on which the
build is performed. Build each target platform on that platform. build is performed. Build each target platform on that platform.
## How to use