Skip to content

Commit

Permalink
Refactor and update version
Browse files Browse the repository at this point in the history
  • Loading branch information
lucassklp committed Jul 10, 2023
1 parent eb89523 commit db80210
Show file tree
Hide file tree
Showing 4 changed files with 5 additions and 43 deletions.
2 changes: 1 addition & 1 deletion Desktop.Robot/Desktop.Robot.csproj
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
<Project Sdk="Microsoft.NET.Sdk">
<PropertyGroup>
<TargetFramework>net6.0</TargetFramework>
<Version>1.4.1</Version>
<Version>1.5.0</Version>
<GeneratePackageOnBuild>true</GeneratePackageOnBuild>
<Authors>Lucas Simas</Authors>
<Description>A library used to control your mouse and keyboard programmatically in .NET Core</Description>
Expand Down
39 changes: 0 additions & 39 deletions Desktop.Robot/OSX/Robot.cs

This file was deleted.

3 changes: 2 additions & 1 deletion Desktop.Robot/Robot.cs
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,8 @@ public Robot()
{
if (RuntimeInformation.IsOSPlatform(OSPlatform.OSX))
{
robot = new OSX.Robot();
robot = RuntimeInformation.ProcessArchitecture == Architecture.Arm64 ?
new OSX.Arm.Robot() : new OSX.Intel.Robot();
}
else if (RuntimeInformation.IsOSPlatform(OSPlatform.Windows))
{
Expand Down
4 changes: 2 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -20,13 +20,13 @@ I made this library because the dotnet SDK doesn't support simulation of mouse a
If you are using Package Manager:

```bash
Install-Package Desktop.Robot -Version 1.4.1
Install-Package Desktop.Robot -Version 1.5.0
```

If you are using .NET CLI

```bash
dotnet add package Desktop.Robot --version 1.4.1
dotnet add package Desktop.Robot --version 1.5.0
```


Expand Down

0 comments on commit db80210

Please sign in to comment.