From 625952133ed4ad2e2ba0420726ceef91a754b338 Mon Sep 17 00:00:00 2001 From: nlscc <66028747+nlscc@users.noreply.github.com> Date: Wed, 7 Oct 2020 18:33:14 +0100 Subject: add support for python3 -m --- README.md | 2 +- samloader/__main__.py | 6 ++++++ 2 files changed, 7 insertions(+), 1 deletion(-) create mode 100644 samloader/__main__.py diff --git a/README.md b/README.md index ccf7c90..e35c7b3 100644 --- a/README.md +++ b/README.md @@ -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 -r checkupdate`: Check the latest firmware version diff --git a/samloader/__main__.py b/samloader/__main__.py new file mode 100644 index 0000000..3e45b8d --- /dev/null +++ b/samloader/__main__.py @@ -0,0 +1,6 @@ +# SPDX-License-Identifier: GPL-3.0+ +# Copyright (C) 2020 nlscc + +from .main import main + +main() -- cgit v1.2.3