Skip to content

Commit e640bbc

Browse files
Added error message when attempting to process files that aren't named layout.json
1 parent 9fc98ba commit e640bbc

File tree

2 files changed

+6
-2
lines changed

2 files changed

+6
-2
lines changed

MSFS Layout Generator/Program.cs

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -62,6 +62,10 @@ static void Main(string[] layoutPaths)
6262
Utilities.Log("Error: " + ex.Message);
6363
}
6464
}
65+
else
66+
{
67+
Utilities.Log("The file \"" + layoutPath + "\" is not named layout.json and will not be updated.");
68+
}
6569
}
6670
}
6771
}

MSFS Layout Generator/Properties/AssemblyInfo.cs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -32,5 +32,5 @@
3232
// You can specify all the values or you can default the Build and Revision Numbers
3333
// by using the '*' as shown below:
3434
// [assembly: AssemblyVersion("1.0.*")]
35-
[assembly: AssemblyVersion("1.0.1.0")]
36-
[assembly: AssemblyFileVersion("1.0.1.0")]
35+
[assembly: AssemblyVersion("1.0.2.0")]
36+
[assembly: AssemblyFileVersion("1.0.2.0")]

0 commit comments

Comments
 (0)