Skip to content

Commit d528196

Browse files
committed
1.20.1
1 parent 919a566 commit d528196

File tree

4 files changed

+12
-2
lines changed

4 files changed

+12
-2
lines changed

README.md

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -33,6 +33,10 @@ mctoast模仿的效果:
3333
- 若遇到了相关的许可证问题,请第一时间[提交issue](https://github.com/SystemFileB/mctoast/issues)并加上 版权或许可证问题 标签
3434

3535
## 📰更新日志
36+
### 1.20.1
37+
- 紧急修复:CLI工具的版本号不对
38+
- 把版本号定义加在了`__init__.py`
39+
3640
### 1.20
3741
- 命令行工具的修改
3842
- 如果你安装了requests,你就可以在`-i=`参数中使用网络图片

mctoast/__init__.py

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -20,6 +20,12 @@
2020
pathjoin=os.path.join
2121
toasts=[None,None,None,None,None]
2222

23+
__package__ = "mctoast"
24+
__version__ = "1.20.1"
25+
__author__ = "SystemFileB"
26+
__description__ = "把Minecraft的Toast带到现实里!"
27+
__license__ = "GNU Lesser General Public License v3 (LGPLv3)"
28+
2329
# 定义常量
2430
ADVANCEMENT = pathjoin(path, "assets","mctoast","textures","advancement.png")
2531
RECIPE = pathjoin(path, "assets","mctoast","textures","recipe.png")

mctoast/__main__.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -70,7 +70,7 @@
7070
"""
7171
def mian():
7272
global help,moo
73-
print("MCToast 生成器 1.13\n")
73+
print("MCToast 生成器 {}\n".format(mctoast.__version__))
7474
toasts=(mctoast.ADVANCEMENT,mctoast.RECIPE,mctoast.SYSTEM)
7575
toast=mctoast.ADVANCEMENT
7676
image=None

setup.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@
55

66
setuptools.setup(
77
name="mctoast",
8-
version="1.20",
8+
version="1.20.1",
99
description="把Minecraft的Toast带到现实里!",
1010
long_description=long_description,
1111
long_description_content_type="text/markdown",

0 commit comments

Comments
 (0)