File tree Expand file tree Collapse file tree 4 files changed +5
-43
lines changed
Expand file tree Collapse file tree 4 files changed +5
-43
lines changed Original file line number Diff line number Diff line change 11<Project Sdk =" Microsoft.NET.Sdk" >
22 <PropertyGroup >
33 <TargetFramework >net6.0</TargetFramework >
4- <Version >1.4.1 </Version >
4+ <Version >1.5.0 </Version >
55 <GeneratePackageOnBuild >true</GeneratePackageOnBuild >
66 <Authors >Lucas Simas</Authors >
77 <Description >A library used to control your mouse and keyboard programmatically in .NET Core</Description >
Load Diff This file was deleted.
Original file line number Diff line number Diff line change @@ -13,7 +13,8 @@ public Robot()
1313 {
1414 if ( RuntimeInformation . IsOSPlatform ( OSPlatform . OSX ) )
1515 {
16- robot = new OSX . Robot ( ) ;
16+ robot = RuntimeInformation . ProcessArchitecture == Architecture . Arm64 ?
17+ new OSX . Arm . Robot ( ) : new OSX . Intel . Robot ( ) ;
1718 }
1819 else if ( RuntimeInformation . IsOSPlatform ( OSPlatform . Windows ) )
1920 {
Original file line number Diff line number Diff line change @@ -20,13 +20,13 @@ I made this library because the dotnet SDK doesn't support simulation of mouse a
2020If you are using Package Manager:
2121
2222``` bash
23- Install-Package Desktop.Robot -Version 1.4.1
23+ Install-Package Desktop.Robot -Version 1.5.0
2424```
2525
2626If you are using .NET CLI
2727
2828``` bash
29- dotnet add package Desktop.Robot --version 1.4.1
29+ dotnet add package Desktop.Robot --version 1.5.0
3030```
3131
3232
You can’t perform that action at this time.
0 commit comments