Skip to content

Commit

Permalink
修正打包时的一个小错误
Browse files Browse the repository at this point in the history
  • Loading branch information
TartaricAcid committed Dec 31, 2018
1 parent 8181b6b commit af94af8
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions zip.py
Original file line number Diff line number Diff line change
Expand Up @@ -35,8 +35,10 @@
if os.path.isfile(zh_cn_path) and os.path.getsize(zh_cn_path) == 0:
os.system('rm -rf '.format(zh_cn_path))

# 最后打包
os.system('mv ./project/assets ./') # 移动到资源包文件夹到主目录下
os.system('mv ./project/assets ./') # 移动资源包文件夹到主目录下
os.system('mv ./project/pack.mcmeta ./') # 移动 pack.mcmeta 文件到主目录下
os.system('mv ./project/pack.png ./') # 移动 pack.png 到主目录下

# 打包“资源包,资源包 meta 文件,资源包图标,说明,许可证”
os.system('zip -r -9 "Minecraft-Mod-Language-Modpack.zip" "assets" "pack.mcmeta" "pack.png" "README.md" "LICENSE"')

Expand Down

0 comments on commit af94af8

Please sign in to comment.