\V0.1/
This commit is contained in:
parent
455d9d55d5
commit
9ee947b921
@ -2,7 +2,7 @@
|
|||||||
|
|
||||||
### Version
|
### Version
|
||||||
|
|
||||||
0.0 (developing)
|
0.1 (developing and have no DEMO)
|
||||||
|
|
||||||
中文README请移步 [这里](https://github.com/shenjackyuanjie/Difficult-Rocket/blob/main/docs/README-cn.md)
|
中文README请移步 [这里](https://github.com/shenjackyuanjie/Difficult-Rocket/blob/main/docs/README-cn.md)
|
||||||
|
|
||||||
|
@ -38,6 +38,8 @@ class client(mp.Process):
|
|||||||
self.view = 'space'
|
self.view = 'space'
|
||||||
self.net_mode = net_mode
|
self.net_mode = net_mode
|
||||||
self.window_config = tools.config('sys_value/window.json5')
|
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,
|
self.window = window(logger=logger,
|
||||||
dev_dic=dev_dic,
|
dev_dic=dev_dic,
|
||||||
dev_list=dev_list,
|
dev_list=dev_list,
|
||||||
@ -46,7 +48,8 @@ class client(mp.Process):
|
|||||||
width=int(self.window_config['width']),
|
width=int(self.window_config['width']),
|
||||||
height=int(self.window_config['height']),
|
height=int(self.window_config['height']),
|
||||||
fullscreen=tools.c_b(self.window_config['full_screen']),
|
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']))
|
visible=tools.c_b(self.window_config['visible']))
|
||||||
self.log_config()
|
self.log_config()
|
||||||
|
|
||||||
|
@ -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).
|
For an English version of readme, please move [here](https://github.com/shenjackyuanjie/Difficult-Rocket).
|
||||||
|
|
||||||
|
@ -5,6 +5,9 @@
|
|||||||
// bool
|
// bool
|
||||||
'caption': 'Simple Rocket {version}',
|
'caption': 'Simple Rocket {version}',
|
||||||
// {version} -> version of SR
|
// {version} -> version of SR
|
||||||
|
'caption_option': {
|
||||||
|
'{version}': '0.1'
|
||||||
|
},
|
||||||
'resizable': 'true',
|
'resizable': 'true',
|
||||||
// bool
|
// bool
|
||||||
'visible': 'true',
|
'visible': 'true',
|
||||||
|
Loading…
Reference in New Issue
Block a user