mirror of
https://github.com/Ryujinx/Opentk.git
synced 2025-01-11 23:05:55 +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()
|
static void PrintUsage()
|
||||||
{
|
{
|
||||||
Console.WriteLine("Usage: Build.exe BuildMode BuildTarget");
|
Console.WriteLine("Usage: Build.exe BuildTarget [BuildMode]");
|
||||||
Console.WriteLine("\tBuildMode: debug/release");
|
Console.WriteLine("\tBuildMode: debug/release");
|
||||||
Console.WriteLine("\tBuildTarget: mono/net/monodev/sharpdev/vs2005 or clean/distclean/svnclean");
|
Console.WriteLine("\tBuildTarget: mono/net/monodev/sharpdev/vs2005 or clean/distclean/svnclean");
|
||||||
}
|
}
|
||||||
|
@ -71,7 +71,13 @@ namespace OpenTK.Build
|
||||||
if (args.Length == 0)
|
if (args.Length == 0)
|
||||||
{
|
{
|
||||||
PrintUsage();
|
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();
|
RootPath = Directory.GetCurrentDirectory();
|
||||||
|
|
Loading…
Reference in a new issue