This repository was archived by the owner on May 19, 2021. It is now read-only.
File tree 2 files changed +14
-3
lines changed
2 files changed +14
-3
lines changed Original file line number Diff line number Diff line change @@ -313,7 +313,7 @@ void UpdateRecentProjectsList()
313
313
}
314
314
else
315
315
{
316
- Console . WriteLine ( "Null registry key at " + registryPathsToCheck [ i ] ) ;
316
+ Console . WriteLine ( "Null registry key at " + registryPathsToCheck [ i ] ) ;
317
317
}
318
318
319
319
// parse recent project path
@@ -337,7 +337,7 @@ void UpdateRecentProjectsList()
337
337
// first check if whole folder exists, if not, skip
338
338
if ( Directory . Exists ( projectPath ) == false )
339
339
{
340
- Console . WriteLine ( "Recent project directory not found, skipping: " + projectPath ) ;
340
+ Console . WriteLine ( "Recent project directory not found, skipping: " + projectPath ) ;
341
341
continue ;
342
342
}
343
343
@@ -598,7 +598,16 @@ private void ShowForm()
598
598
599
599
void LaunchSelectedProject ( bool openProject = true )
600
600
{
601
+ if ( gridRecent . CurrentCell == null )
602
+ {
603
+ if ( gridRecent . SelectedRows . Count != 0 )
604
+ {
605
+ DataGridViewRow row = gridRecent . SelectedRows [ 0 ] ;
606
+ gridRecent . CurrentCell = row . Cells [ 0 ] ;
607
+ }
608
+ }
601
609
var selected = gridRecent . CurrentCell . RowIndex ;
610
+
602
611
if ( selected > - 1 )
603
612
{
604
613
var projectPath = gridRecent . Rows [ selected ] . Cells [ "_path" ] . Value . ToString ( ) ;
Original file line number Diff line number Diff line change @@ -177,7 +177,9 @@ public static string GetUnityReleaseURL(string version)
177
177
if ( version . Contains ( "f" ) ) // archived
178
178
{
179
179
version = Regex . Replace ( version , @"f." , "" , RegexOptions . IgnoreCase ) ;
180
- url = "https://unity3d.com/unity/whatsnew/unity-" + version ;
180
+ string padding = "unity-" ;
181
+ if ( version . Contains ( "2018.2" ) ) padding = "" ;
182
+ url = "https://unity3d.com/unity/whats-new/" + padding + version ;
181
183
}
182
184
else
183
185
if ( version . Contains ( "p" ) ) // patch version
You can’t perform that action at this time.
0 commit comments