File tree Expand file tree Collapse file tree 3 files changed +2
-1
lines changed Expand file tree Collapse file tree 3 files changed +2
-1
lines changed File renamed without changes.
File renamed without changes.
Original file line number Diff line number Diff line change 2222 quiet = flag .Bool ("q" , true , "Show quiet logging" )
2323 force = flag .Bool ("f" , false , "Force firmware update" )
2424 copier = flag .Bool ("c" , false , "Copy bin_file to bin_save" )
25+ core = flag .String ("core" , "" , "Core version" )
2526 from = flag .String ("from" , "" , "Original file location" )
2627 to = flag .String ("to" , "" , "Save file location" )
2728 dfu_path = flag .String ("dfu" , "" , "Location of dfu-util binaries" )
@@ -195,7 +196,7 @@ func main_load() {
195196 }
196197
197198 executablePath , _ := osext .ExecutableFolder ()
198- firmwarePath := executablePath + "/firmwares/"
199+ firmwarePath := executablePath + "/firmwares/" + * core + "/"
199200
200201 // Save verbose flag
201202 verbose_user := * verbose
You can’t perform that action at this time.
0 commit comments