diff --git a/gen_release.py b/gen_release.py index 0791e79..24fa03b 100644 --- a/gen_release.py +++ b/gen_release.py @@ -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')