fonts add update

This commit is contained in:
13339479676 2022-01-27 13:02:49 +08:00
parent e12644827f
commit 3c0afacccb
2 changed files with 14 additions and 1 deletions

View File

@ -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'] # 压缩文件格式

View File

@ -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")