Fix missing iot option, increase version, fix setup.py version

This commit is contained in:
info@revskills.de 2023-04-24 21:09:40 +02:00
parent 2bb83de4c1
commit 038ea53e87
4 changed files with 4 additions and 4 deletions

4
mtk
View file

@ -1,10 +1,10 @@
#!/usr/bin/env python3
# MTK Flash Client (c) B.Kerler 2018-2022.
# MTK Flash Client (c) B.Kerler 2018-2023.
# Licensed under GPLv3 License
import argparse
from mtkclient.Library.mtk_main import Main, metamodes
info = "MTK Flash/Exploit Client V1.6.1 (c) B.Kerler 2018-2023"
info = "MTK Flash/Exploit Client V1.6.2 (c) B.Kerler 2018-2023"
cmds = {
"printgpt": "Print GPT Table information",

View file

@ -116,7 +116,6 @@ class DAconfig(metaclass=LogBase):
self.mtk = mtk
self.pathconfig = pathconfig()
self.config = self.mtk.config
self.iot = False
self.usbwrite = self.mtk.port.usbwrite
self.usbread = self.mtk.port.usbread
self.flashsize = 0

View file

@ -33,6 +33,7 @@ class Mtk_Config(metaclass=LogBase):
self.preloader_filename = None
self.payloadfile = None
self.loader = None
self.iot = False
self.gpt_file = None
self.tr = QObject().tr
if sys.platform.startswith('darwin'):

View file

@ -3,7 +3,7 @@ from setuptools import setup, find_packages
setup(
name='mtkclient',
version='1.9',
version='1.6.2',
packages=find_packages(),
long_description=open("README.md").read(),
scripts=['mtk','stage2'],