mirror of
https://github.com/Ryujinx/Opentk.git
synced 2024-12-24 18:15:38 +00:00
Prompt for input when none is given.
This commit is contained in:
parent
59256f6f0b
commit
66fd1f0915
BIN
Build/Build.exe
BIN
Build/Build.exe
Binary file not shown.
|
@ -61,7 +61,7 @@ namespace OpenTK.Build
|
|||
|
||||
static void PrintUsage()
|
||||
{
|
||||
Console.WriteLine("Usage: Build.exe BuildMode BuildTarget");
|
||||
Console.WriteLine("Usage: Build.exe BuildTarget [BuildMode]");
|
||||
Console.WriteLine("\tBuildMode: debug/release");
|
||||
Console.WriteLine("\tBuildTarget: mono/net/monodev/sharpdev/vs2005 or clean/distclean/svnclean");
|
||||
}
|
||||
|
@ -71,7 +71,13 @@ namespace OpenTK.Build
|
|||
if (args.Length == 0)
|
||||
{
|
||||
PrintUsage();
|
||||
return;
|
||||
|
||||
args = new string[2];
|
||||
Console.Write("Select build target: ");
|
||||
args[0] = Console.ReadLine();
|
||||
|
||||
Console.Write("Select build mode (optional): ");
|
||||
args[1] = Console.ReadLine();
|
||||
}
|
||||
|
||||
RootPath = Directory.GetCurrentDirectory();
|
||||
|
|
Loading…
Reference in a new issue