Explorar el Código

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

hedger hace 3 años
padre
commit
fed18f7c42
Se han modificado 1 ficheros con 3 adiciones y 0 borrados
  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):