Update gen_release.py

This commit is contained in:
Siwat Sirichai 2023-12-07 15:52:14 +07:00
parent 5f5176969f
commit 1988bc953e
1 changed files with 4 additions and 0 deletions

View File

@ -19,6 +19,10 @@ current_dir = os.path.dirname(os.path.abspath(__file__))
# Define the path to the firmware folder
firmware_folder = os.path.join(current_dir, 'firmware')
# Create the firmware folder if it does not exist
if not os.path.exists(firmware_folder):
os.makedirs(firmware_folder)
# Define the path to the release folder
release_folder = os.path.join(current_dir, 'release')