diff --git a/README.md b/README.md index 146a4d0..bc33469 100644 --- a/README.md +++ b/README.md @@ -24,10 +24,10 @@ To begin with, you need to install this package via pip: ```shell pip install scrcpy-client ``` -Then, you can start `script/demo.py`: +Then, you can start `script/ui.py`: ```shell -python -m scrcpy -// or python script/demo.py +py-scrcpy +// or python script/ui.py ``` ## Contribution & Development diff --git a/pyproject.toml b/pyproject.toml index c95ea49..1add2ae 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -1,6 +1,6 @@ [tool.poetry] name = "scrcpy-client" -version = "0.2.1" +version = "0.2.2" description = "A client of scrcpy" authors = ["lengyue "] readme = "README.md" @@ -11,7 +11,7 @@ packages = [ ] [tool.poetry.scripts] -scrcpy = "script.demo:main" +py-scrcpy = "scrcpy.ui:main" [tool.poetry.dependencies] python = "^3.7" diff --git a/script/demo.py b/scrcpy/ui.py similarity index 100% rename from script/demo.py rename to scrcpy/ui.py