add support for python3 -m

This commit is contained in:
nlscc 2020-10-07 18:33:14 +01:00
parent 8e34874172
commit 625952133e
2 changed files with 7 additions and 1 deletions

View File

@ -5,7 +5,7 @@ Download firmware for Samsung devices (without any extra Windows drivers).
pip3 install git+https://github.com/nlscc/samloader.git
```
## Usage
See `samloader --help` and `samloader (command) --help`.
Run with `samloader` or `python3 -m samloader`. See `samloader --help` and `samloader (command) --help` for help.
`-m <model> -r <region> checkupdate`: Check the latest firmware version

6
samloader/__main__.py Normal file
View File

@ -0,0 +1,6 @@
# SPDX-License-Identifier: GPL-3.0+
# Copyright (C) 2020 nlscc
from .main import main
main()