add default import and add libs.
This commit is contained in:
parent
d08bd3122d
commit
db7cf30568
1
DR.py
1
DR.py
@ -100,6 +100,7 @@ def main() -> None:
|
|||||||
print(crash.all_thread)
|
print(crash.all_thread)
|
||||||
print(crash.all_process)
|
print(crash.all_process)
|
||||||
print("Difficult_Rocket 已关闭")
|
print("Difficult_Rocket 已关闭")
|
||||||
|
sys.exit(0)
|
||||||
|
|
||||||
|
|
||||||
if __name__ == '__main__':
|
if __name__ == '__main__':
|
||||||
|
@ -11,9 +11,6 @@ github: @shenjackyuanjie
|
|||||||
gitee: @shenjackyuanjie
|
gitee: @shenjackyuanjie
|
||||||
"""
|
"""
|
||||||
|
|
||||||
from typing import TYPE_CHECKING
|
from Difficult_Rocket.api import screen, mod, exception
|
||||||
|
|
||||||
if TYPE_CHECKING:
|
|
||||||
from Difficult_Rocket.api import screen, mod, exception
|
|
||||||
|
|
||||||
__all__ = ['screen', 'mod', 'exception']
|
__all__ = ['screen', 'mod', 'exception']
|
||||||
|
@ -8,7 +8,7 @@
|
|||||||
from typing import Tuple, List, Optional
|
from typing import Tuple, List, Optional
|
||||||
|
|
||||||
# from libs
|
# from libs
|
||||||
from MCDR.version import Version
|
from libs.MCDR.version import Version
|
||||||
|
|
||||||
# from DR
|
# from DR
|
||||||
from Difficult_Rocket.main import Game
|
from Difficult_Rocket.main import Game
|
||||||
|
Loading…
Reference in New Issue
Block a user