diff --git a/DR.py b/DR.py index fcc7634..069b0f3 100644 --- a/DR.py +++ b/DR.py @@ -100,6 +100,7 @@ def main() -> None: print(crash.all_thread) print(crash.all_process) print("Difficult_Rocket 已关闭") + sys.exit(0) if __name__ == '__main__': diff --git a/Difficult_Rocket/api/__init__.py b/Difficult_Rocket/api/__init__.py index b1c05bb..4b652d5 100644 --- a/Difficult_Rocket/api/__init__.py +++ b/Difficult_Rocket/api/__init__.py @@ -11,9 +11,6 @@ github: @shenjackyuanjie gitee: @shenjackyuanjie """ -from typing import TYPE_CHECKING - -if TYPE_CHECKING: - from Difficult_Rocket.api import screen, mod, exception +from Difficult_Rocket.api import screen, mod, exception __all__ = ['screen', 'mod', 'exception'] diff --git a/Difficult_Rocket/api/mod/__init__.py b/Difficult_Rocket/api/mod/__init__.py index 9a94368..9b210e6 100644 --- a/Difficult_Rocket/api/mod/__init__.py +++ b/Difficult_Rocket/api/mod/__init__.py @@ -8,7 +8,7 @@ from typing import Tuple, List, Optional # from libs -from MCDR.version import Version +from libs.MCDR.version import Version # from DR from Difficult_Rocket.main import Game