This commit is contained in:
沈瑗杰 2021-02-22 23:27:18 +08:00
parent 455d9d55d5
commit 9ee947b921
4 changed files with 9 additions and 3 deletions

View File

@ -2,7 +2,7 @@
### Version
0.0 (developing)
0.1 (developing and have no DEMO)
中文README请移步 [这里](https://github.com/shenjackyuanjie/Difficult-Rocket/blob/main/docs/README-cn.md)

View File

@ -38,6 +38,8 @@ class client(mp.Process):
self.view = 'space'
self.net_mode = net_mode
self.window_config = tools.config('sys_value/window.json5')
self.caption = self.window_config['caption']
self.caption = configs.name_handler(self.caption, self.window_config['caption_option'])
self.window = window(logger=logger,
dev_dic=dev_dic,
dev_list=dev_list,
@ -46,7 +48,8 @@ class client(mp.Process):
width=int(self.window_config['width']),
height=int(self.window_config['height']),
fullscreen=tools.c_b(self.window_config['full_screen']),
caption=str(self.window_config['caption']),
caption=self.caption,
resizable=tools.c_b(self.window_config['resizable']),
visible=tools.c_b(self.window_config['visible']))
self.log_config()

View File

@ -2,7 +2,7 @@
## 版本
0.0 (开发.ing)
0.1 (开发.ing 没有DEMO(除非你能管一个乌漆嘛黑的页面+三个东西叫DEMO))
For an English version of readme, please move [here](https://github.com/shenjackyuanjie/Difficult-Rocket).

View File

@ -5,6 +5,9 @@
// bool
'caption': 'Simple Rocket {version}',
// {version} -> version of SR
'caption_option': {
'{version}': '0.1'
},
'resizable': 'true',
// bool
'visible': 'true',