Преглед на файлове

[FL-2457] Changed dist names for firmware files #1109

hedger преди 3 години
родител
ревизия
fed18f7c42
променени са 1 файла, в които са добавени 3 реда и са изтрити 0 реда
  1. 3 0
      scripts/dist.py

+ 3 - 0
scripts/dist.py

@@ -34,6 +34,9 @@ class Main(App):
         self.parser_copy.set_defaults(func=self.copy)
 
     def get_project_filename(self, project, filetype):
+        #  Temporary fix
+        if project == "firmware" and filetype != "elf":
+            project = "full"
         return f"flipper-z-{self.args.target}-{project}-{self.args.suffix}.{filetype}"
 
     def get_dist_filepath(self, filename):