fonts add update
This commit is contained in:
parent
e12644827f
commit
3c0afacccb
|
@ -13,7 +13,7 @@ from utils.time_format import time_format
|
|||
from utils.ows_path import increment_path
|
||||
|
||||
|
||||
ROOT_PATH = sys.path[0] # 项目根目录
|
||||
# ROOT_PATH = sys.path[0] # 项目根目录
|
||||
COMPRESS_SUFFIX = ['zip', 'tar'] # 压缩文件格式
|
||||
|
||||
|
||||
|
|
|
@ -2,3 +2,16 @@
|
|||
# 创建人:曾逸夫
|
||||
# 创建时间:2022-01-27
|
||||
|
||||
|
||||
import os
|
||||
import sys
|
||||
|
||||
|
||||
# 创建字体库
|
||||
def add_fronts(fonts_file):
|
||||
os.system(f'bash {fonts_file}')
|
||||
print(f'字体文件加载完成!')
|
||||
|
||||
|
||||
# if __name__ == "__main__":
|
||||
# add_fronts("../fonts.sh")
|
Loading…
Reference in New Issue