|
|
|
@ -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/') |
|
|
|
|