fix #27 fixed!
This commit is contained in:
parent
66831c211e
commit
c896288b57
@ -13,8 +13,9 @@ import inspect
|
|||||||
import functools
|
import functools
|
||||||
import traceback
|
import traceback
|
||||||
|
|
||||||
from typing import Callable, Dict, List, TYPE_CHECKING
|
from pathlib import Path
|
||||||
from decimal import Decimal
|
from decimal import Decimal
|
||||||
|
from typing import Callable, Dict, List, TYPE_CHECKING
|
||||||
|
|
||||||
# third function
|
# third function
|
||||||
import rtoml
|
import rtoml
|
||||||
@ -97,6 +98,10 @@ class Client:
|
|||||||
|
|
||||||
|
|
||||||
def pyglet_load_fonts_folder(folder) -> None:
|
def pyglet_load_fonts_folder(folder) -> None:
|
||||||
|
font_path = Path(folder)
|
||||||
|
if not font_path.exists():
|
||||||
|
font_path.mkdir(parents=True)
|
||||||
|
return None
|
||||||
file_folder_list = os.listdir(folder)
|
file_folder_list = os.listdir(folder)
|
||||||
for obj in file_folder_list:
|
for obj in file_folder_list:
|
||||||
if os.path.isfile(os.path.join(folder, obj)):
|
if os.path.isfile(os.path.join(folder, obj)):
|
||||||
|
@ -2,7 +2,14 @@
|
|||||||
# DR SDK 更新日志
|
# DR SDK 更新日志
|
||||||
|
|
||||||
- 最新版本号
|
- 最新版本号
|
||||||
- DR sdk: 0.8.1.0
|
- DR sdk: 0.8.2.0
|
||||||
|
|
||||||
|
## DR sdk 0.8.2.0
|
||||||
|
|
||||||
|
### Fix
|
||||||
|
|
||||||
|
- issue #27 (https://github.com/shenjackyuanjie/Difficult_Rocket/issues/27)
|
||||||
|
- ~~为什么每次发完release都要修issue啊 font文件夹不存在就会报错~~
|
||||||
|
|
||||||
## DR sdk 0.8.1.0
|
## DR sdk 0.8.1.0
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user