Skip to content

Commit

Permalink
Fix bugs of #77 fixed
Browse files Browse the repository at this point in the history
Fix ReceiveAsync of .netstandard1.3
Fix DeviceMonitor Dispose
Fix DeviceMonitorLoop exception catch
Catch NotSupportedException on Process.GetProcessesByName
Fix test on Linux
  • Loading branch information
wherewhere committed Oct 29, 2023
1 parent 76a5ac1 commit 9ec6fad
Show file tree
Hide file tree
Showing 12 changed files with 715 additions and 644 deletions.
6 changes: 3 additions & 3 deletions .github/workflows/build-and-test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -46,8 +46,6 @@ jobs:
name: pack-and-publish
needs: build-and-test
runs-on: ubuntu-latest
env:
NUGET_SOURCE: https://nuget.pkg.github.com/yungd1plomat/index.json

steps:
- name: Checkout
Expand All @@ -69,7 +67,9 @@ jobs:

- name: Publish
if: ${{ github.event_name == 'push' && github.ref_name == 'main' }}
run: dotnet nuget push ./nugets/*nupkg --source "$env:NUGET_SOURCE" --skip-duplicate --api-key ${{ secrets.NUGET_KEY }}
run: dotnet nuget push ./nugets/*nupkg --source $env:NUGET_SOURCE --skip-duplicate --api-key ${{ secrets.NUGET_KEY }}
env:
NUGET_SOURCE: https://nuget.pkg.github.com/yungd1plomat/index.json

- name: Upload
uses: actions/upload-artifact@v3
Expand Down
2 changes: 1 addition & 1 deletion AdvancedSharpAdbClient.Tests/AdbClientTests.Async.cs
Original file line number Diff line number Diff line change
Expand Up @@ -1235,7 +1235,7 @@ at com.android.server.input.InputManagerService.injectInputEventInternal(InputMa
at com.android.server.input.InputManagerService.injectInputEvent(InputManagerService.java:651)
at android.hardware.input.IInputManager$Stub.onTransact(IInputManager.java:430)
at android.os.Binder.execTransactInternal(Binder.java:1165)
at android.os.Binder.execTransact(Binder.java:1134)", exception.JavaStackTrace);
at android.os.Binder.execTransact(Binder.java:1134)", exception.JavaStackTrace, ignoreLineEndingDifferences: true);
}

/// <summary>
Expand Down
2 changes: 1 addition & 1 deletion AdvancedSharpAdbClient.Tests/AdbClientTests.cs
Original file line number Diff line number Diff line change
Expand Up @@ -1357,7 +1357,7 @@ at com.android.server.input.InputManagerService.injectInputEventInternal(InputMa
at com.android.server.input.InputManagerService.injectInputEvent(InputManagerService.java:651)
at android.hardware.input.IInputManager$Stub.onTransact(IInputManager.java:430)
at android.os.Binder.execTransactInternal(Binder.java:1165)
at android.os.Binder.execTransact(Binder.java:1134)", exception.JavaStackTrace);
at android.os.Binder.execTransact(Binder.java:1134)", exception.JavaStackTrace, ignoreLineEndingDifferences: true);
}

/// <summary>
Expand Down

0 comments on commit 9ec6fad

Please sign in to comment.