我正在尝试使用 python 将文件附加到 .jar 文件,但我一直遇到一个错误,指出找不到主类:jar。
def add_to_jar():
jarfile = "jarfile.jar"
skin_image= Skin_Name.text() #this stores the full path to to file to be appended
cmd = 'java jar uf ' + jarfile + " " + skin_image
proc = subprocess.Popen(cmd, shell=True)
任何帮助表示赞赏