From 5efb4d3cc309755c551cdb36ec12fbb0cecf342a Mon Sep 17 00:00:00 2001 From: Your Name Date: Fri, 27 Dec 2024 15:35:09 +0800 Subject: [PATCH] fix: ci --- iot_upload.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/iot_upload.py b/iot_upload.py index b07704d..c12e78a 100644 --- a/iot_upload.py +++ b/iot_upload.py @@ -202,8 +202,8 @@ def build_the_current_windowsApp(name): os.system('mkdir -p /tmp/a/ /tmp/b/ /tmp/IOTContainer/') os.system('unzip ' + the_last_windowsAppZIP + ' -d /tmp/a/') os.system('unzip ' + the_current_windowsAppZIP + ' -d /tmp/b/') - os.system('/bin/sh -c zip_diff.sh') - diff_zip=os.getenv('DRONE_REPO_NAME') + '.' + os.getenv('version') + '.zip' + os.system('/bin/sh -c /drone/src/zip_diff.sh') + diff_zip='/tmp/IOTContainer/' + os.getenv('DRONE_REPO_NAME') + '.' + os.getenv('version') + '.zip' platformAppAdd(diff_zip, '.zip') build_for_windowsApp() platformAppAdd('/drone/src/Sources/Setup.exe', '.exe')