|
|
|
@ -104,11 +104,11 @@ namespace CppSharp |
|
|
|
{ |
|
|
|
{ |
|
|
|
try |
|
|
|
try |
|
|
|
{ |
|
|
|
{ |
|
|
|
string dir = Path.GetDirectoryName(arg); |
|
|
|
|
|
|
|
string file = Path.GetFileNameWithoutExtension(arg); |
|
|
|
string file = Path.GetFileNameWithoutExtension(arg); |
|
|
|
|
|
|
|
options.OutputFileName = file; |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
var dir = Path.HasExtension(arg) ? Path.GetDirectoryName(arg) : Path.GetFullPath(arg); |
|
|
|
options.OutputDir = dir; |
|
|
|
options.OutputDir = dir; |
|
|
|
options.OutputFileName = file; |
|
|
|
|
|
|
|
} |
|
|
|
} |
|
|
|
catch(Exception e) |
|
|
|
catch(Exception e) |
|
|
|
{ |
|
|
|
{ |
|
|
|
|