Compare commits
No commits in common. "eb12243e55cf21a43721faa47ae7542df2c8cf7b" and "f3c2540daecc090a9f6a5277f402c3413b339d3c" have entirely different histories.
eb12243e55
...
f3c2540dae
@ -10,7 +10,7 @@ from pathlib import Path
|
||||
|
||||
from Difficult_Rocket.api.types import Options, Version
|
||||
|
||||
sdk_version = Version("0.8.5.3") # SDK 版本
|
||||
sdk_version = Version("0.8.5.2") # SDK 版本
|
||||
build_version = Version("2.1.3.0") # 编译文件版本(与游戏本体无关)
|
||||
Api_version = Version("0.1.1.0") # API 版本
|
||||
__version__ = sdk_version
|
||||
|
@ -77,7 +77,7 @@ def create_crash_report(info: Optional[str] = None) -> None:
|
||||
crash_info = crash_info_handler(info)
|
||||
if 'crash_report' not in os.listdir('./'):
|
||||
os.mkdir('./crash_report')
|
||||
date_time = time.strftime('%Y-%m-%d %H-%M-%S', time.localtime())
|
||||
date_time = time.strftime('%Y-%m-%d %H-%M-%S', time.gmtime(time.time()))
|
||||
filename = f'crash-{date_time}.md'
|
||||
cache_stream = io.StringIO()
|
||||
try:
|
||||
@ -92,7 +92,7 @@ def create_crash_report(info: Optional[str] = None) -> None:
|
||||
|
||||
def write_cache(cache_stream, crash_info):
|
||||
# 开头信息
|
||||
cache_stream.write(Head_message.format(now_time=time.strftime('%Y/%m/%d %H:%M:%S', time.localtime())))
|
||||
cache_stream.write(Head_message.format(now_time=time.strftime('%Y/%m/%d %H:%M:%S', time.gmtime(time.time()))))
|
||||
# 崩溃信息
|
||||
cache_stream.write(crash_info)
|
||||
|
||||
|
@ -20,7 +20,7 @@
|
||||
[关于版本号的说明](./docs/src/version.md)
|
||||
|
||||
[](https://github.com/shenjackyuanjie/Difficult-Rocket/releases)
|
||||
[](https://github.com/shenjackyuanjie/Difficult-Rocket/releases)
|
||||
[](https://github.com/shenjackyuanjie/Difficult-Rocket/releases)
|
||||
[](https://github.com/shenjackyuanjie/Difficult-Rocket/releases)
|
||||
|
||||
[](https://stats.deeptrain.net/repo/shenjackyuanjie/Difficult-Rocket?theme=dark)
|
||||
|
@ -3,7 +3,7 @@ fps = 60
|
||||
language = "zh-CN"
|
||||
date_fmt = "%Y-%m-%d %H-%M-%S"
|
||||
write_py_v = "3.8.10"
|
||||
fonts_folder = "assets/fonts"
|
||||
fonts_folder = "libs/fonts"
|
||||
|
||||
[window]
|
||||
style = "None"
|
||||
|
@ -20,7 +20,7 @@
|
||||
[About Versions](src/version.md)
|
||||
|
||||
[](https://github.com/shenjackyuanjie/Difficult-Rocket/releases)
|
||||
[](https://github.com/shenjackyuanjie/Difficult-Rocket/releases)
|
||||
[](https://github.com/shenjackyuanjie/Difficult-Rocket/releases)
|
||||
[](https://github.com/shenjackyuanjie/Difficult-Rocket/releases)
|
||||
|
||||
[](https://stats.deeptrain.net/repo/shenjackyuanjie/Difficult-Rocket?theme=dark)
|
||||
|
@ -10,8 +10,6 @@
|
||||
|
||||
- 添加 `email` `win32con` `smtplib` `win32evtlog` `win32evtlogutil` `win32api` 到 `--no-follow-import`
|
||||
- Add `email`, `win32con`, `smtplib`, `win32evtlog`, `win32evtlogutil`, `win32api` to `--no-follow-import`
|
||||
- `include_data_dir` 移除 `libs/fonts` `textures`
|
||||
- 改为 `assets` 和 `config`
|
||||
|
||||
## 20230708 build 2.1.2.0
|
||||
|
||||
|
@ -2,28 +2,7 @@
|
||||
# DR SDK 更新日志
|
||||
|
||||
- 最新版本号
|
||||
- DR sdk: 0.8.5.3
|
||||
|
||||
## DR sdk 0.8.5.3
|
||||
|
||||
重构了一下项目结构
|
||||
|
||||
Refactored the project structure
|
||||
|
||||
### Fix
|
||||
|
||||
- issue [#42](https://github.com/shenjackyuanjie/Difficult-Rocket/issues/42)
|
||||
- Crash report 的时区不正确
|
||||
- Crash report time zone is incorrect
|
||||
|
||||
### Change
|
||||
|
||||
- 将大部分资源文件移动到 `assets/`
|
||||
- `libs/fonts` -> `assets/fonts`
|
||||
- `configs/lang` -> `assets/lang`
|
||||
- `configs/xxx.xml` -> `assets/builtin/xxx.xml`
|
||||
- `textures` -> `assets/textures`
|
||||
- Move all the resources to `assets/`
|
||||
- DR sdk: 0.8.5.2
|
||||
|
||||
## DR sdk 0.8.5.2
|
||||
|
||||
|
@ -59,13 +59,15 @@ class CompilerHelper(Options):
|
||||
|
||||
copy_right: str = 'Copyright © 2020-2023 by shenjackyuanjie 3695888@qq.com' # --copyright
|
||||
|
||||
icon_path: Path = Path('assets/textures/icon.png')
|
||||
icon_path: Path = Path('textures/icon.png')
|
||||
|
||||
follow_import: List[str] = ['pyglet']
|
||||
no_follow_import: List[str] = ['objprint', 'pillow', 'PIL', 'cffi', 'pydoc', 'numpy', 'email', 'win32con',
|
||||
'smtplib', 'win32evtlog', 'win32evtlogutil', 'win32api']
|
||||
|
||||
include_data_dir: List[Tuple[str, str]] = [('./config', './config'),
|
||||
include_data_dir: List[Tuple[str, str]] = [('./libs/fonts', './libs/fonts'),
|
||||
('./textures', './textures'),
|
||||
('./config', './config'),
|
||||
('./assets', './assets')]
|
||||
include_packages: List[str] = ['Difficult_Rocket.api']
|
||||
|
||||
|
@ -6,7 +6,7 @@ build-backend = "pdm.pep517.api"
|
||||
|
||||
[project]
|
||||
name = "difficult-rocket"
|
||||
version = "0.8.5.3"
|
||||
version = "0.8.5.1"
|
||||
description = "A rocket game"
|
||||
authors = [
|
||||
{name = "shenjackyuanjie", email = "3695888@qq.com"}
|
||||
|
Loading…
Reference in New Issue
Block a user