Browse Source

fix: ci

test v1.0.1-beta.11
Your Name 1 year ago
parent
commit
755b336707
  1. 2
      iot_upload.py

2
iot_upload.py

@ -187,7 +187,7 @@ def build_the_current_windowsApp(name):
with open(the_last_windowsAppZIP) as f: content1 = f.read()
with open(the_current_windowsAppZIP) as f: content2 = f.read()
if md5(content1.encode("utf8")).hexdigest() != md5(content2.encode("utf8")).hexdigest():
if md5(content1).hexdigest() != md5(content2).hexdigest():
print ("比对结果:程序版本已更新")
os.system('mkdir -p /tmp/a/ /tmp/b/ /tmp/IOTContainer/')
os.system('unzip ' + the_last_windowsAppZIP + ' -d /tmp/a/')

Loading…
Cancel
Save