Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commitb990989

Browse files
committed
display error if try to upgrade from commandline, without unty editors#212
1 parent65025c8 commitb990989

File tree

1 file changed

+11
-1
lines changed

1 file changed

+11
-1
lines changed

‎UnityLauncherPro/MainWindow.xaml.cs‎

Lines changed: 11 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -333,7 +333,17 @@ void HandleCommandLineLaunch()
333333
{
334334
booluseInitScript=(bool)chkUseInitScript.IsChecked;
335335

336-
Tools.DisplayUpgradeDialog(proj,null,useInitScript);
336+
// if not editors found, then dont open commandline?
337+
if(unityInstallationsSource.Count>0)
338+
{
339+
Tools.DisplayUpgradeDialog(proj,null,useInitScript);
340+
}
341+
else
342+
{
343+
MessageBox.Show("No Unity installations found. Please setup Unity Editor root folders first by running UnityLauncherPro.","No Unity Installations found",MessageBoxButton.OK,MessageBoxImage.Warning);
344+
// TODO display setup tab
345+
}
346+
337347
}
338348
else// no Assets folder here OR Assets folder is empty, then its new project
339349
{

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp