Skip to content

Commit

Permalink
Release v3.2.11
Browse files Browse the repository at this point in the history
  • Loading branch information
wherewhere committed Mar 20, 2024
1 parent ba24d53 commit da61b5a
Show file tree
Hide file tree
Showing 6 changed files with 10 additions and 7 deletions.
1 change: 1 addition & 0 deletions .github/ISSUE_TEMPLATE/bug_report.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -32,6 +32,7 @@ body:
description: Specify the version of AdvancedSharpAdbClient you're using.
options:
- "Latest Source"
- "3.2.11"
- "3.1.10"
- "3.0.9"
- "2.5.8"
Expand Down
4 changes: 2 additions & 2 deletions AdvancedSharpAdbClient/AdbSocket.Async.cs
Original file line number Diff line number Diff line change
Expand Up @@ -79,8 +79,8 @@ public virtual async Task SendAsync(byte[] data, int offset, int length, Cancell
}

/// <inheritdoc/>
public Task SendSyncRequestAsync(SyncCommand command, string path, UnixFileStatus permission, CancellationToken cancellationToken = default) =>
SendSyncRequestAsync(command, $"{path},{(int)permission.GetPermissions()}", cancellationToken);
public Task SendSyncRequestAsync(SyncCommand command, string path, UnixFileStatus permissions, CancellationToken cancellationToken = default) =>
SendSyncRequestAsync(command, $"{path},{(int)permissions.GetPermissions()}", cancellationToken);

/// <inheritdoc/>
public async Task SendSyncRequestAsync(SyncCommand command, string path, CancellationToken cancellationToken = default)
Expand Down
4 changes: 2 additions & 2 deletions AdvancedSharpAdbClient/AdbSocket.cs
Original file line number Diff line number Diff line change
Expand Up @@ -154,8 +154,8 @@ public virtual void Send(byte[] data, int offset, int length)
}

/// <inheritdoc/>
public void SendSyncRequest(SyncCommand command, string path, UnixFileStatus permission) =>
SendSyncRequest(command, $"{path},{(int)permission.GetPermissions()}");
public void SendSyncRequest(SyncCommand command, string path, UnixFileStatus permissions) =>
SendSyncRequest(command, $"{path},{(int)permissions.GetPermissions()}");

/// <inheritdoc/>
public void SendSyncRequest(SyncCommand command, string path)
Expand Down
3 changes: 3 additions & 0 deletions AdvancedSharpAdbClient/AdvancedSharpAdbClient.csproj
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,8 @@
<FullTargets>True</FullTargets>
<ImportAsync>True</ImportAsync>
<Nullable>Enable</Nullable>
<PackageIcon>Icon.png</PackageIcon>
<PackageReadmeFile>README.md</PackageReadmeFile>
</PropertyGroup>

<Choose>
Expand Down Expand Up @@ -63,6 +65,7 @@

<ItemGroup>
<None Include="..\logo.png" Pack="True" PackagePath="\Icon.png" />
<None Include="..\README.md" Pack="True" PackagePath="\README.md"/>
</ItemGroup>

<ItemGroup>
Expand Down
3 changes: 1 addition & 2 deletions Directory.Build.props
Original file line number Diff line number Diff line change
Expand Up @@ -11,13 +11,12 @@
<GenerateDocumentationFile>True</GenerateDocumentationFile>
<IncludeSymbols>True</IncludeSymbols>
<LangVersion>latest</LangVersion>
<PackageIcon>Icon.png</PackageIcon>
<PackageIconUrl>https://raw.githubusercontent.com/SharpAdb/AdvancedSharpAdbClient/main/logo.png</PackageIconUrl>
<PackageLicenseExpression>Apache-2.0</PackageLicenseExpression>
<PackageProjectUrl>https://github.com/SharpAdb/AdvancedSharpAdbClient</PackageProjectUrl>
<PackageRequireLicenseAcceptance>True</PackageRequireLicenseAcceptance>
<PackageReleaseNotes>https://github.com/SharpAdb/AdvancedSharpAdbClient/releases</PackageReleaseNotes>
<PackageTags>Android;ADB;Communicate;UWP;Xamarin;MAUI;WinUI;Mono;Unity;SharpAdbClient;AdvancedSharpAdbClient</PackageTags>
<PackageTags>Android;ADB;Communication;UWP;Xamarin;WinUI;MAUI;Mono;Unity;SharpAdbClient;AdvancedSharpAdbClient</PackageTags>
<RepositoryType>git</RepositoryType>
<Product>AdvancedSharpAdbClient: A .NET client for the Android Debug Bridge (adb)</Product>
<PublishRepositoryUrl>True</PublishRepositoryUrl>
Expand Down
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -411,7 +411,7 @@ void UploadFile()
{
using (FileStream stream = File.OpenRead(@"C:\MyFile.txt"))
{
service.Push(stream, "/data/local/tmp/MyFile.txt", 777, DateTimeOffset.Now, null);
service.Push(stream, "/data/local/tmp/MyFile.txt", UnixFileStatus.DefaultFileMode, DateTimeOffset.Now, null);
}
}
}
Expand Down

0 comments on commit da61b5a

Please sign in to comment.