Skip to content

Commit

Permalink
App File can be a directory (ie: .app for iOS)
Browse files Browse the repository at this point in the history
  • Loading branch information
Redth committed Oct 16, 2022
1 parent 6f0c974 commit fde85f7
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions src/Interactive/AutomationExtension.cs
Original file line number Diff line number Diff line change
Expand Up @@ -86,7 +86,7 @@ async Task ConfigureKernelDirective(CSharpKernel csharpKernel)
Arity = ArgumentArity.ZeroOrOne
};

var appOption = new Option<FileInfo>(
var appOption = new Option<FileSystemInfo>(
new[] { "--app" },
"The application file (.app, .apk, etc.) to test.")
{
Expand Down Expand Up @@ -144,8 +144,8 @@ async Task ConfigureKernelDirective(CSharpKernel csharpKernel)
nameOption
};

testCommand.SetHandler<Platform, Platform, string, FileInfo?, string, string>(
async (Platform platform, Platform automationPlatform, string appId, FileInfo? app, string device, string name) =>
testCommand.SetHandler<Platform, Platform, string, FileSystemInfo?, string, string>(
async (Platform platform, Platform automationPlatform, string appId, FileSystemInfo? app, string device, string name) =>
{
// if there is an already used dirver with such name dispose
if (csharpKernel.TryGetValue(name, out IDriver oldDriver) && oldDriver is { })
Expand Down

0 comments on commit fde85f7

Please sign in to comment.