Skip to content

Commit

Permalink
修复打包失败
Browse files Browse the repository at this point in the history
  • Loading branch information
jiang committed Apr 29, 2024
1 parent 08b2418 commit ae842c4
Showing 1 changed file with 23 additions and 7 deletions.
30 changes: 23 additions & 7 deletions server/filedispose/Package.py
Original file line number Diff line number Diff line change
Expand Up @@ -47,13 +47,29 @@ def rm(dir,name):
else:
rm(dir + p + '/',name)
def info():
print("Package:" + name)
print("name:文件处理")
print("Version:" + Version)
print("Depends:main")
print("License:GPL-2.0")
print("Description:文件处理")
print("issued:pkg")
data = {}
#文件夹名称
data["Package"] = name
#首选名称
data["names"] = "文件处理"
#多国语言翻译
data["namei"] = {}
data["namei"]["zh-CN"] = "文件处理".encode("utf-8")
#版本
data["Version"] = Version
#依赖
data["Depends"] = "main"
#License
data["License"] = "GPL-2.0"
#首选解释
data["Description"] = "文件处理"
#多国语言翻译
data["Descriptions"] = {}
data["Descriptions"]["zh-CN"] = "文件处理".encode("utf-8")
#库名称
data["issued"] = "pkg"

return data

if __name__ == "__main__":
if len(sys.argv) == 1:
Expand Down

0 comments on commit ae842c4

Please sign in to comment.