File tree Expand file tree Collapse file tree 1 file changed +29
-1
lines changed
nanoFirmwareFlasher.Library Expand file tree Collapse file tree 1 file changed +29
-1
lines changed Original file line number Diff line number Diff line change @@ -661,13 +661,27 @@ public ExitCodes DeployApplication(
661661 return ExitCodes . E2002 ;
662662 }
663663 }
664+ else
665+ {
666+ if ( verbosity >= VerbosityLevel . Normal )
667+ {
668+ Console . ForegroundColor = ConsoleColor . Green ;
669+ Console . WriteLine ( "OK" ) ;
670+
671+ Console . ForegroundColor = ConsoleColor . White ;
672+ }
673+ else
674+ {
675+ Console . WriteLine ( "" ) ;
676+ }
677+ }
664678
665679 // needed for slow devices
666680 Thread . Sleep ( 200 ) ;
667681
668682 if ( verbosity >= VerbosityLevel . Normal )
669683 {
670- Console . Write ( $ "Erasing deployment block storage ...") ;
684+ Console . Write ( $ "Deploying managed application ...") ;
671685 }
672686
673687 if ( ! nanoDevice . DeployBinaryFile (
@@ -684,6 +698,20 @@ public ExitCodes DeployApplication(
684698 return ExitCodes . E2002 ;
685699 }
686700 }
701+ else
702+ {
703+ if ( verbosity >= VerbosityLevel . Normal )
704+ {
705+ Console . ForegroundColor = ConsoleColor . Green ;
706+ Console . WriteLine ( "OK" ) ;
707+
708+ Console . ForegroundColor = ConsoleColor . White ;
709+ }
710+ else
711+ {
712+ Console . WriteLine ( "" ) ;
713+ }
714+ }
687715
688716 // all good here
689717 return ExitCodes . OK ;
You can’t perform that action at this time.
0 commit comments