Skip to content

Commit da61b5a

Browse files
committed
Release v3.2.11
1 parent ba24d53 commit da61b5a

File tree

6 files changed

+10
-7
lines changed

6 files changed

+10
-7
lines changed

.github/ISSUE_TEMPLATE/bug_report.yaml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -32,6 +32,7 @@ body:
3232
description: Specify the version of AdvancedSharpAdbClient you're using.
3333
options:
3434
- "Latest Source"
35+
- "3.2.11"
3536
- "3.1.10"
3637
- "3.0.9"
3738
- "2.5.8"

AdvancedSharpAdbClient/AdbSocket.Async.cs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -79,8 +79,8 @@ public virtual async Task SendAsync(byte[] data, int offset, int length, Cancell
7979
}
8080

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

8585
/// <inheritdoc/>
8686
public async Task SendSyncRequestAsync(SyncCommand command, string path, CancellationToken cancellationToken = default)

AdvancedSharpAdbClient/AdbSocket.cs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -154,8 +154,8 @@ public virtual void Send(byte[] data, int offset, int length)
154154
}
155155

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

160160
/// <inheritdoc/>
161161
public void SendSyncRequest(SyncCommand command, string path)

AdvancedSharpAdbClient/AdvancedSharpAdbClient.csproj

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,8 @@
44
<FullTargets>True</FullTargets>
55
<ImportAsync>True</ImportAsync>
66
<Nullable>Enable</Nullable>
7+
<PackageIcon>Icon.png</PackageIcon>
8+
<PackageReadmeFile>README.md</PackageReadmeFile>
79
</PropertyGroup>
810

911
<Choose>
@@ -63,6 +65,7 @@
6365

6466
<ItemGroup>
6567
<None Include="..\logo.png" Pack="True" PackagePath="\Icon.png" />
68+
<None Include="..\README.md" Pack="True" PackagePath="\README.md"/>
6669
</ItemGroup>
6770

6871
<ItemGroup>

Directory.Build.props

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -11,13 +11,12 @@
1111
<GenerateDocumentationFile>True</GenerateDocumentationFile>
1212
<IncludeSymbols>True</IncludeSymbols>
1313
<LangVersion>latest</LangVersion>
14-
<PackageIcon>Icon.png</PackageIcon>
1514
<PackageIconUrl>https://raw.githubusercontent.com/SharpAdb/AdvancedSharpAdbClient/main/logo.png</PackageIconUrl>
1615
<PackageLicenseExpression>Apache-2.0</PackageLicenseExpression>
1716
<PackageProjectUrl>https://github.com/SharpAdb/AdvancedSharpAdbClient</PackageProjectUrl>
1817
<PackageRequireLicenseAcceptance>True</PackageRequireLicenseAcceptance>
1918
<PackageReleaseNotes>https://github.com/SharpAdb/AdvancedSharpAdbClient/releases</PackageReleaseNotes>
20-
<PackageTags>Android;ADB;Communicate;UWP;Xamarin;MAUI;WinUI;Mono;Unity;SharpAdbClient;AdvancedSharpAdbClient</PackageTags>
19+
<PackageTags>Android;ADB;Communication;UWP;Xamarin;WinUI;MAUI;Mono;Unity;SharpAdbClient;AdvancedSharpAdbClient</PackageTags>
2120
<RepositoryType>git</RepositoryType>
2221
<Product>AdvancedSharpAdbClient: A .NET client for the Android Debug Bridge (adb)</Product>
2322
<PublishRepositoryUrl>True</PublishRepositoryUrl>

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -411,7 +411,7 @@ void UploadFile()
411411
{
412412
using (FileStream stream = File.OpenRead(@"C:\MyFile.txt"))
413413
{
414-
service.Push(stream, "/data/local/tmp/MyFile.txt", 777, DateTimeOffset.Now, null);
414+
service.Push(stream, "/data/local/tmp/MyFile.txt", UnixFileStatus.DefaultFileMode, DateTimeOffset.Now, null);
415415
}
416416
}
417417
}

0 commit comments

Comments
 (0)