添加获取版本信息命令

This commit is contained in:
Jing Ling
2020-02-09 18:58:47 +08:00
parent c4eb6cdcfa
commit a5f51aaefc
2 changed files with 16 additions and 5 deletions
+3
View File
@@ -9,6 +9,9 @@ import pathlib
import urllib3
from loguru import logger
# 版本信息
oneforall_version = 'v0.0.8#dev' # OneForAll处于开发中,会进行版本快速迭代,请每次在使用前进行更新!
# 路径设置
oneforall_relpath = pathlib.Path(__file__).parent # oneforall代码相对路径
oneforall_abspath = oneforall_relpath.resolve() # oneforall代码绝对路径