3 Commits
Author SHA1 Message Date
ds5678 49e71fc0a5 Update readme 2026-01-26 19:27:01 -08:00
ds5678 0ca1fdb1dc Bump version to 1.1.1 in Directory.Build.props
Updated the VersionPrefix property from 1.1.0 to 1.1.1 to prepare for a new patch release. No other changes were made.
2026-01-26 19:24:47 -08:00
ds5678 63278e1a51 Check if bash is installed 2026-01-26 19:24:08 -08:00
3 changed files with 7 additions and 2 deletions

No files matched your search

@@ -61,6 +61,11 @@ internal static class ProcessExecutor
[SupportedOSPlatform("linux")]
public static async Task<bool> HasCommand(string command)
{
ArgumentException.ThrowIfNullOrEmpty(command);
if (!File.Exists("/bin/bash"))
{
return false;
}
string? result = await TryRun("/bin/bash", "-c", $"command -v {EscapeString(command)}");
return !string.IsNullOrEmpty(result);
}
+1 -1
View File
@@ -6,7 +6,7 @@
<Nullable>enable</Nullable>
<CheckForOverflowUnderflow>true</CheckForOverflowUnderflow>
<VersionPrefix>1.1.0</VersionPrefix>
<VersionPrefix>1.1.1</VersionPrefix>
<Copyright>Copyright (c) 2026 ds5678</Copyright>
<Authors>ds5678</Authors>
<Company>AssetRipper</Company>
+1 -1
View File
@@ -6,7 +6,7 @@ A cross-platform library for picking files and folders in .NET applications.
On Windows, downstream projects must disable `CETCompat`. Leaving it enabled may cause crashes when opening native file dialogs.
Add the following to the consuming project’s `.csproj`:
Add the following to the consuming project `.csproj` file:
```xml
<PropertyGroup>