Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,12 @@ public List<WhisperModel> Models
}

public string Extension => ".bin";
public string UnpackSkipFolder => string.Empty;

// The Windows whisper.cpp release (whisper-blas-bin-x64.zip) nests all binaries under a
// "Release/" folder, so whisper-cli.exe would otherwise land in Cpp/Release/ (see #12220).
// The Mac/Linux archives are flat; skipping "Release" is a no-op there because the unpacker
// only strips the prefix from entries that actually start with it.
public string UnpackSkipFolder => "Release";

public bool IsEngineInstalled()
{
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,11 @@ public List<WhisperModel> Models
}

public string Extension => ".bin";
public string UnpackSkipFolder => string.Empty;

// Consistent with the other whisper.cpp engines: strip a leading "Release/" folder if the
// archive nests binaries in one (see #12220). No-op for the flat Vulkan archive because the
// unpacker only strips the prefix from entries that actually start with it.
public string UnpackSkipFolder => "Release";

public bool IsEngineInstalled()
{
Expand Down