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

This commit is contained in:
hedger 2022-04-14 00:29:58 +03:00 committed by GitHub
parent e02040107b
commit fed18f7c42
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -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):