File tree Expand file tree Collapse file tree 1 file changed +12
-5
lines changed Expand file tree Collapse file tree 1 file changed +12
-5
lines changed Original file line number Diff line number Diff line change @@ -732,7 +732,7 @@ private bool infoChangedAndAddedFileForGitHubDownloadType(ContentRouteSettings.R
732732 }
733733 else
734734 {
735- outputFile . WriteLine ( Catalog . GetString ( "- No updates found" ) + "<br></p>" ) ;
735+ outputFile . WriteLine ( "- " + Catalog . GetString ( "No updates found" ) + "<br></p>" ) ;
736736 }
737737
738738 return changedFound && remoteUpdateFound ;
@@ -980,10 +980,17 @@ private void updateButton_Click(object sender, EventArgs e)
980980 return ;
981981 }
982982 }
983-
983+ if ( doThePull ( route ) )
984+ {
985+ message = Catalog . GetString ( "Updates installed" ) ;
986+ MessageBox . Show ( message , Catalog . GetString ( "Attention" ) , MessageBoxButtons . OK , MessageBoxIcon . Information ) ;
987+ }
988+ }
989+ else
990+ {
991+ message = Catalog . GetString ( "No updates found" ) ;
992+ MessageBox . Show ( message , Catalog . GetString ( "Attention" ) , MessageBoxButtons . OK , MessageBoxIcon . Information ) ;
984993 }
985-
986- doThePull ( route ) ;
987994 }
988995
989996 private bool doThePull ( ContentRouteSettings . Route route ) {
@@ -997,7 +1004,7 @@ private bool doThePull(ContentRouteSettings.Route route) {
9971004
9981005 // User information to create a merge commit
9991006 var signature = new LibGit2Sharp . Signature (
1000- new Identity ( route . AuthorName , route . AuthorUrl ) , DateTimeOffset . Now ) ;
1007+ new Identity ( "Open Rails" , "www.openrails.org" ) , DateTimeOffset . Now ) ;
10011008
10021009 // Pull
10031010 Commands . Pull ( repo , signature , options ) ;
You can’t perform that action at this time.
0 commit comments