File tree Expand file tree Collapse file tree 1 file changed +4
-1
lines changed
Expand file tree Collapse file tree 1 file changed +4
-1
lines changed Original file line number Diff line number Diff line change @@ -173,14 +173,17 @@ private void Timer_Tick(object sender, EventArgs e)
173173 try
174174 {
175175 using ( var webClient = new WebClient ( ) )
176- remoteVersion = webClient . DownloadString ( "https://raw.githubusercontent.com/csbernath/DataCommander/master/Version.md " ) ;
176+ remoteVersion = webClient . DownloadString ( "https://raw.githubusercontent.com/csbernath/DataCommander/master/DataCommander/ Version.txt " ) ;
177177 }
178178 catch
179179 {
180180 }
181181
182182 if ( remoteVersion != null && localVersion != remoteVersion )
183+ {
184+ _toolStripStatusLabel . ForeColor = Color . Red ;
183185 _toolStripStatusLabel . Text = $ "New version is available. Local version: { localVersion } , remote version: { remoteVersion } ";
186+ }
184187 }
185188
186189 UpdateTotalMemory ( ) ;
You can’t perform that action at this time.
0 commit comments