This commit is contained in:
chudov
2009-08-06 13:03:02 +00:00
parent f0c0167ef0
commit 8f9a7b9e1e
25 changed files with 6067 additions and 3775 deletions

View File

@@ -14,14 +14,12 @@ namespace JDP {
[STAThread]
static void Main(string[] args)
{
if (args.Length > 1 && (args[0] == "/verify" || args[0] == "/convert"))
if (args.Length > 1 && args[0].Length > 1 && args[0][0] == '/')
{
Application.EnableVisualStyles();
Application.SetCompatibleTextRenderingDefault(false);
frmBatch batch = new frmBatch();
batch.AccurateRip =
args[0] == "/convert" ? CUEAction.VerifyAndConvert :
CUEAction.Verify;
batch.Profile = args[0].Substring(1);
if (args.Length == 2 && args[1][0] != '@')
batch.InputPath = args[1];