From 59b3513f3400cf7d54033e9206053e3244203bf8 Mon Sep 17 00:00:00 2001 From: Arlo Godfrey Date: Tue, 14 Nov 2023 10:09:30 -0600 Subject: [PATCH] Fixed an issue with KuboBootstrapper not starting on Linux --- src/KuboBootstrapper.cs | 2 +- src/OwlCore.Kubo.csproj | 6 +++++- 2 files changed, 6 insertions(+), 2 deletions(-) diff --git a/src/KuboBootstrapper.cs b/src/KuboBootstrapper.cs index 978d126..a616df8 100644 --- a/src/KuboBootstrapper.cs +++ b/src/KuboBootstrapper.cs @@ -174,7 +174,7 @@ private Task SetExecutablePermissionsForBinary(SystemFile file) if (!RuntimeInformation.IsOSPlatform(OSPlatform.Linux)) return Task.CompletedTask; - return RunAsync(new SystemFile("/bin/bash"), $"-c \"chmod 777 {file}\"", throwOnError: true); + return RunAsync(new SystemFile("/bin/bash"), $"-c \"chmod 777 {file.Path}\"", throwOnError: true); } private async Task RunAsync(SystemFile file, string arguments, bool throwOnError, CancellationToken cancellationToken = default) diff --git a/src/OwlCore.Kubo.csproj b/src/OwlCore.Kubo.csproj index 6afa2be..e45b083 100644 --- a/src/OwlCore.Kubo.csproj +++ b/src/OwlCore.Kubo.csproj @@ -14,13 +14,17 @@ $(AllowedOutputExtensionsInPackageBuildOutputFolder);.pdb Arlo Godfrey - 0.13.0 + 0.13.1 OwlCore An essential toolkit for Kubo, IPFS and the distributed web. LICENSE.txt +--- 0.13.1 --- +[Fixed] +Fixed an issue with KuboBootstrapper not starting on Linux. + --- 0.13.0 --- [New] Added IGetCid and StorableKuboExtensions.GetCidAsync() for easier content comparison. Enables returning the CID for any IStorable item, falling back to stream hashing for files when IGetCid isn't implemented.