Compare commits
4 Commits
f3c2540dae
...
eb12243e55
Author | SHA1 | Date | |
---|---|---|---|
eb12243e55 | |||
8e9589e378 | |||
04ab2e3965 | |||
2155ad7045 |
@ -10,7 +10,7 @@ from pathlib import Path
|
|||||||
|
|
||||||
from Difficult_Rocket.api.types import Options, Version
|
from Difficult_Rocket.api.types import Options, Version
|
||||||
|
|
||||||
sdk_version = Version("0.8.5.2") # SDK 版本
|
sdk_version = Version("0.8.5.3") # SDK 版本
|
||||||
build_version = Version("2.1.3.0") # 编译文件版本(与游戏本体无关)
|
build_version = Version("2.1.3.0") # 编译文件版本(与游戏本体无关)
|
||||||
Api_version = Version("0.1.1.0") # API 版本
|
Api_version = Version("0.1.1.0") # API 版本
|
||||||
__version__ = sdk_version
|
__version__ = sdk_version
|
||||||
|
@ -77,7 +77,7 @@ def create_crash_report(info: Optional[str] = None) -> None:
|
|||||||
crash_info = crash_info_handler(info)
|
crash_info = crash_info_handler(info)
|
||||||
if 'crash_report' not in os.listdir('./'):
|
if 'crash_report' not in os.listdir('./'):
|
||||||
os.mkdir('./crash_report')
|
os.mkdir('./crash_report')
|
||||||
date_time = time.strftime('%Y-%m-%d %H-%M-%S', time.gmtime(time.time()))
|
date_time = time.strftime('%Y-%m-%d %H-%M-%S', time.localtime())
|
||||||
filename = f'crash-{date_time}.md'
|
filename = f'crash-{date_time}.md'
|
||||||
cache_stream = io.StringIO()
|
cache_stream = io.StringIO()
|
||||||
try:
|
try:
|
||||||
@ -92,7 +92,7 @@ def create_crash_report(info: Optional[str] = None) -> None:
|
|||||||
|
|
||||||
def write_cache(cache_stream, crash_info):
|
def write_cache(cache_stream, crash_info):
|
||||||
# 开头信息
|
# 开头信息
|
||||||
cache_stream.write(Head_message.format(now_time=time.strftime('%Y/%m/%d %H:%M:%S', time.gmtime(time.time()))))
|
cache_stream.write(Head_message.format(now_time=time.strftime('%Y/%m/%d %H:%M:%S', time.localtime())))
|
||||||
# 崩溃信息
|
# 崩溃信息
|
||||||
cache_stream.write(crash_info)
|
cache_stream.write(crash_info)
|
||||||
|
|
||||||
|
@ -20,7 +20,7 @@
|
|||||||
[关于版本号的说明](./docs/src/version.md)
|
[关于版本号的说明](./docs/src/version.md)
|
||||||
|
|
||||||
[![Generic badge](https://img.shields.io/badge/Release-0.8.5.1-blue.svg)](https://github.com/shenjackyuanjie/Difficult-Rocket/releases)
|
[![Generic badge](https://img.shields.io/badge/Release-0.8.5.1-blue.svg)](https://github.com/shenjackyuanjie/Difficult-Rocket/releases)
|
||||||
[![Generic badge](https://img.shields.io/badge/Pre_Release-0.8.5.1-blue.svg)](https://github.com/shenjackyuanjie/Difficult-Rocket/releases)
|
[![Generic badge](https://img.shields.io/badge/Pre_Release-0.8.5.3-blue.svg)](https://github.com/shenjackyuanjie/Difficult-Rocket/releases)
|
||||||
[![Generic badge](https://img.shields.io/badge/Devloping-0.8.6-blue.svg)](https://github.com/shenjackyuanjie/Difficult-Rocket/releases)
|
[![Generic badge](https://img.shields.io/badge/Devloping-0.8.6-blue.svg)](https://github.com/shenjackyuanjie/Difficult-Rocket/releases)
|
||||||
|
|
||||||
[![language badge](https://stats.deeptrain.net/repo/shenjackyuanjie/Difficult-Rocket?theme=dark)](https://stats.deeptrain.net/repo/shenjackyuanjie/Difficult-Rocket?theme=dark)
|
[![language badge](https://stats.deeptrain.net/repo/shenjackyuanjie/Difficult-Rocket?theme=dark)](https://stats.deeptrain.net/repo/shenjackyuanjie/Difficult-Rocket?theme=dark)
|
||||||
|
@ -3,7 +3,7 @@ fps = 60
|
|||||||
language = "zh-CN"
|
language = "zh-CN"
|
||||||
date_fmt = "%Y-%m-%d %H-%M-%S"
|
date_fmt = "%Y-%m-%d %H-%M-%S"
|
||||||
write_py_v = "3.8.10"
|
write_py_v = "3.8.10"
|
||||||
fonts_folder = "libs/fonts"
|
fonts_folder = "assets/fonts"
|
||||||
|
|
||||||
[window]
|
[window]
|
||||||
style = "None"
|
style = "None"
|
||||||
|
@ -20,7 +20,7 @@
|
|||||||
[About Versions](src/version.md)
|
[About Versions](src/version.md)
|
||||||
|
|
||||||
[![Generic badge](https://img.shields.io/badge/Release-0.8.5.1-blue.svg)](https://github.com/shenjackyuanjie/Difficult-Rocket/releases)
|
[![Generic badge](https://img.shields.io/badge/Release-0.8.5.1-blue.svg)](https://github.com/shenjackyuanjie/Difficult-Rocket/releases)
|
||||||
[![Generic badge](https://img.shields.io/badge/Pre_Release-0.8.5.1-blue.svg)](https://github.com/shenjackyuanjie/Difficult-Rocket/releases)
|
[![Generic badge](https://img.shields.io/badge/Pre_Release-0.8.5.3-blue.svg)](https://github.com/shenjackyuanjie/Difficult-Rocket/releases)
|
||||||
[![Generic badge](https://img.shields.io/badge/Devloping-0.8.6-blue.svg)](https://github.com/shenjackyuanjie/Difficult-Rocket/releases)
|
[![Generic badge](https://img.shields.io/badge/Devloping-0.8.6-blue.svg)](https://github.com/shenjackyuanjie/Difficult-Rocket/releases)
|
||||||
|
|
||||||
[![language badge](https://stats.deeptrain.net/repo/shenjackyuanjie/Difficult-Rocket?theme=dark)](https://stats.deeptrain.net/repo/shenjackyuanjie/Difficult-Rocket?theme=dark)
|
[![language badge](https://stats.deeptrain.net/repo/shenjackyuanjie/Difficult-Rocket?theme=dark)](https://stats.deeptrain.net/repo/shenjackyuanjie/Difficult-Rocket?theme=dark)
|
||||||
|
@ -10,6 +10,8 @@
|
|||||||
|
|
||||||
- 添加 `email` `win32con` `smtplib` `win32evtlog` `win32evtlogutil` `win32api` 到 `--no-follow-import`
|
- 添加 `email` `win32con` `smtplib` `win32evtlog` `win32evtlogutil` `win32api` 到 `--no-follow-import`
|
||||||
- Add `email`, `win32con`, `smtplib`, `win32evtlog`, `win32evtlogutil`, `win32api` to `--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
|
## 20230708 build 2.1.2.0
|
||||||
|
|
||||||
|
@ -2,7 +2,28 @@
|
|||||||
# DR SDK 更新日志
|
# DR SDK 更新日志
|
||||||
|
|
||||||
- 最新版本号
|
- 最新版本号
|
||||||
- DR sdk: 0.8.5.2
|
- 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,15 +59,13 @@ class CompilerHelper(Options):
|
|||||||
|
|
||||||
copy_right: str = 'Copyright © 2020-2023 by shenjackyuanjie 3695888@qq.com' # --copyright
|
copy_right: str = 'Copyright © 2020-2023 by shenjackyuanjie 3695888@qq.com' # --copyright
|
||||||
|
|
||||||
icon_path: Path = Path('textures/icon.png')
|
icon_path: Path = Path('assets/textures/icon.png')
|
||||||
|
|
||||||
follow_import: List[str] = ['pyglet']
|
follow_import: List[str] = ['pyglet']
|
||||||
no_follow_import: List[str] = ['objprint', 'pillow', 'PIL', 'cffi', 'pydoc', 'numpy', 'email', 'win32con',
|
no_follow_import: List[str] = ['objprint', 'pillow', 'PIL', 'cffi', 'pydoc', 'numpy', 'email', 'win32con',
|
||||||
'smtplib', 'win32evtlog', 'win32evtlogutil', 'win32api']
|
'smtplib', 'win32evtlog', 'win32evtlogutil', 'win32api']
|
||||||
|
|
||||||
include_data_dir: List[Tuple[str, str]] = [('./libs/fonts', './libs/fonts'),
|
include_data_dir: List[Tuple[str, str]] = [('./config', './config'),
|
||||||
('./textures', './textures'),
|
|
||||||
('./config', './config'),
|
|
||||||
('./assets', './assets')]
|
('./assets', './assets')]
|
||||||
include_packages: List[str] = ['Difficult_Rocket.api']
|
include_packages: List[str] = ['Difficult_Rocket.api']
|
||||||
|
|
||||||
|
@ -6,7 +6,7 @@ build-backend = "pdm.pep517.api"
|
|||||||
|
|
||||||
[project]
|
[project]
|
||||||
name = "difficult-rocket"
|
name = "difficult-rocket"
|
||||||
version = "0.8.5.1"
|
version = "0.8.5.3"
|
||||||
description = "A rocket game"
|
description = "A rocket game"
|
||||||
authors = [
|
authors = [
|
||||||
{name = "shenjackyuanjie", email = "3695888@qq.com"}
|
{name = "shenjackyuanjie", email = "3695888@qq.com"}
|
||||||
|
Loading…
Reference in New Issue
Block a user