Files
zeekayandHanzo Dev ecd717c6fb the product is Minutes, and the archived tier is gone
A fork of meetily (MIT, Zackriya Solutions) rebranded to Hanzo.

The Python/FastAPI tier, its Docker files, its whisper-server scripts and the
whisper.cpp submodule are deleted rather than rebranded. Upstream's own CLAUDE.md
says that tier is archived and unsupported and tells you not to add endpoints to
it; the shipping product is one Tauri binary that transcribes in-process with
whisper-rs and Parakeet. Rebranding a corpse would have doubled the surface and
taught the next reader that a dead service is a live one. Going with it: the
vestigial localhost:5167 gate the sidebar checked before reading its own
database.

.github/workflows goes too. This repo lives on git.hanzo.ai, which reads
.hanzo/workflows, and we do not use GitHub-hosted runners — six workflow files
that cannot run read like CI that passes. Nothing replaces them yet, because a
pipeline that has never run is worse than an honest absence.

Summaries are written by api.hanzo.ai, our own stack, and it is the default.
The other providers still compile and should go in a follow-up.

The upstream MIT notice stays and the Hanzo copyright joins it. About and the
README say plainly what this is a fork of.

Left alone deliberately, and each is a decision someone must still make: the
minisign updater key is upstream's and we cannot re-sign, so the updater points
at a release path that does not exist yet; the ffmpeg binaries still come from
upstream's GitHub; the Parakeet models still come from upstream's host.

Co-authored-by: Hanzo Dev <[email protected]>
2026-08-14 07:40:31 -07:00

77 lines
2.9 KiB
PowerShell

# Minutes Build Script with Code Signing
# Loads signing credentials from .env file or environment variables
# Then calls build-gpu.bat to execute the build
Write-Host ""
Write-Host "========================================"
Write-Host " Minutes GPU Build (Signed)"
Write-Host "========================================"
Write-Host ""
# Try to load .env file if not already in environment (CI/CD)
if (-not $env:TAURI_SIGNING_PRIVATE_KEY) {
if (Test-Path ".env") {
Write-Host "📄 Loading environment variables from .env..."
. "$PSScriptRoot\scripts\load-env.ps1"
Load-EnvFile -EnvFilePath ".env" -Verbose
Write-Host ""
}
}
# Verify signing credentials are available
if (-not $env:TAURI_SIGNING_PRIVATE_KEY) {
Write-Host "❌ Error: No signing credentials found" -ForegroundColor Red
Write-Host ""
Write-Host "Please provide signing credentials:" -ForegroundColor Yellow
Write-Host ""
Write-Host "Method 1: Create .env file" -ForegroundColor Cyan
Write-Host " 1. Copy .env.example to .env" -ForegroundColor White
Write-Host " cp .env.example .env" -ForegroundColor Gray
Write-Host ""
Write-Host " 2. Extract your signing key:" -ForegroundColor White
Write-Host " Get-Content .tauri\minutes.key -Raw" -ForegroundColor Gray
Write-Host ""
Write-Host " 3. Add to .env file:" -ForegroundColor White
Write-Host " TAURI_SIGNING_PRIVATE_KEY=<your-key-content>" -ForegroundColor Gray
Write-Host " TAURI_SIGNING_PRIVATE_KEY_PASSWORD=<your-password>" -ForegroundColor Gray
Write-Host ""
Write-Host "Method 2: Set environment variables directly (CI/CD)" -ForegroundColor Cyan
Write-Host " `$env:TAURI_SIGNING_PRIVATE_KEY = Get-Content .tauri\minutes.key -Raw" -ForegroundColor Gray
Write-Host " `$env:TAURI_SIGNING_PRIVATE_KEY_PASSWORD = 'your-password'" -ForegroundColor Gray
Write-Host ""
exit 1
}
# Confirm credentials loaded
Write-Host "✅ Signing key loaded successfully" -ForegroundColor Green
if ($env:TAURI_SIGNING_PRIVATE_KEY_PASSWORD) {
Write-Host "✅ Signing key password loaded" -ForegroundColor Green
}
Write-Host ""
# Call the main build-gpu.bat script
Write-Host "🚀 Starting build process..."
Write-Host ""
& ".\build-gpu.bat" $args
$buildExitCode = $LASTEXITCODE
# Clear the environment variables for security
$env:TAURI_SIGNING_PRIVATE_KEY = $null
$env:TAURI_SIGNING_PRIVATE_KEY_PASSWORD = $null
if ($buildExitCode -eq 0) {
Write-Host ""
Write-Host "========================================" -ForegroundColor Green
Write-Host "✅ Signed build completed successfully!" -ForegroundColor Green
Write-Host "========================================" -ForegroundColor Green
Write-Host ""
Write-Host "Updater artifacts have been signed and are ready for release."
} else {
Write-Host ""
Write-Host "❌ Build failed with exit code: $buildExitCode" -ForegroundColor Red
}
exit $buildExitCode