DR -> DR SDK #16
1
DR.py
1
DR.py
@ -99,6 +99,7 @@ def main() -> None:
|
|||||||
crash.record_thread = False
|
crash.record_thread = False
|
||||||
print(crash.all_thread)
|
print(crash.all_thread)
|
||||||
print(crash.all_process)
|
print(crash.all_process)
|
||||||
|
print("Difficult_Rocket 已关闭")
|
||||||
|
|
||||||
|
|
||||||
if __name__ == '__main__':
|
if __name__ == '__main__':
|
||||||
|
@ -3,9 +3,7 @@
|
|||||||
## 范例
|
## 范例
|
||||||
|
|
||||||
```python
|
```python
|
||||||
from Difficult_Rocket.utils.translate import Tr
|
from Difficult_Rocket.utils.translate import tr
|
||||||
|
|
||||||
Tr.lang
|
print(tr().window.setup.done())
|
||||||
|
|
||||||
print(Tr.window.setup.done)
|
|
||||||
```
|
```
|
||||||
|
@ -54,6 +54,16 @@
|
|||||||
- Now when the game crashes, it will automatically output the crash log in stdio
|
- Now when the game crashes, it will automatically output the crash log in stdio
|
||||||
- The content of the crash log is basically the same as the crash report
|
- The content of the crash log is basically the same as the crash report
|
||||||
|
|
||||||
|
### Docs
|
||||||
|
|
||||||
|
- `howto/translate.md`
|
||||||
|
- 修改为新的 tr 调用方式
|
||||||
|
- Modified to the new tr call method
|
||||||
|
- `SUMMARY.md`
|
||||||
|
- add `howto/translate.md`
|
||||||
|
- add `howto/game/readme.md`
|
||||||
|
- `contributors` -> `Contributing`
|
||||||
|
|
||||||
### Mod Loader
|
### Mod Loader
|
||||||
|
|
||||||
- `ModInfo`
|
- `ModInfo`
|
||||||
|
Loading…
Reference in New Issue
Block a user