max / audiofiles
10 files changed,
+35 insertions,
-35 deletions
| @@ -7,7 +7,7 @@ dist/*.deb | |||
| 7 | 7 | # Release/build scripts are source — keep them version-controlled even if a | |
| 8 | 8 | # broader dist/ ignore is ever added. | |
| 9 | 9 | !dist/*.sh | |
| 10 | - | dist/AudioFiles.app/ | |
| 10 | + | dist/Audiofiles.app/ | |
| 11 | 11 | dist/AppDir/ | |
| 12 | 12 | dist/tools/ | |
| 13 | 13 | dist/.dmg-staging/ |
| @@ -229,7 +229,7 @@ fn main() { | |||
| 229 | 229 | let test_suite_dir = samples_dir.join("test-suite"); | |
| 230 | 230 | ||
| 231 | 231 | println!("╔══════════════════════════════════════════════════════════════╗"); | |
| 232 | - | println!("║ AudioFiles Analysis Pipeline — Benchmark Report ║"); | |
| 232 | + | println!("║ Audiofiles Analysis Pipeline — Benchmark Report ║"); | |
| 233 | 233 | println!("╚══════════════════════════════════════════════════════════════╝"); | |
| 234 | 234 | println!(); | |
| 235 | 235 |
| @@ -1,6 +1,6 @@ | |||
| 1 | 1 | [Desktop Entry] | |
| 2 | 2 | Type=Application | |
| 3 | - | Name=AudioFiles | |
| 3 | + | Name=Audiofiles | |
| 4 | 4 | Comment=Sample manager with content-addressed storage | |
| 5 | 5 | Exec=audiofiles-app | |
| 6 | 6 | Icon=audiofiles |
| @@ -1,6 +1,6 @@ | |||
| 1 | 1 | <?xml version="1.0" encoding="UTF-8"?> | |
| 2 | 2 | <!-- | |
| 3 | - | AudioFiles MSI source. Consumed by build-msi-native.ps1 (windows-x86, native | |
| 3 | + | Audiofiles MSI source. Consumed by build-msi-native.ps1 (windows-x86, native | |
| 4 | 4 | WiX toolset) and build-msi.sh (macOS/Linux fallback via msitools wixl). | |
| 5 | 5 | ||
| 6 | 6 | Tokens replaced at build time: | |
| @@ -9,7 +9,7 @@ | |||
| 9 | 9 | --> | |
| 10 | 10 | <Wix xmlns="http://schemas.microsoft.com/wix/2006/wi"> | |
| 11 | 11 | <Product Id="*" | |
| 12 | - | Name="AudioFiles" | |
| 12 | + | Name="Audiofiles" | |
| 13 | 13 | Language="1033" | |
| 14 | 14 | Version="@VERSION@" | |
| 15 | 15 | Manufacturer="Maxwell Johnson" | |
| @@ -18,7 +18,7 @@ | |||
| 18 | 18 | <Package InstallerVersion="200" | |
| 19 | 19 | Compressed="yes" | |
| 20 | 20 | InstallScope="perUser" | |
| 21 | - | Description="AudioFiles @VERSION@" | |
| 21 | + | Description="Audiofiles @VERSION@" | |
| 22 | 22 | Comments="Sample manager with content-addressed storage" /> | |
| 23 | 23 | ||
| 24 | 24 | <MajorUpgrade DowngradeErrorMessage="A newer version is already installed." /> | |
| @@ -26,22 +26,22 @@ | |||
| 26 | 26 | ||
| 27 | 27 | <Directory Id="TARGETDIR" Name="SourceDir"> | |
| 28 | 28 | <Directory Id="LocalAppDataFolder"> | |
| 29 | - | <Directory Id="INSTALLFOLDER" Name="AudioFiles"> | |
| 29 | + | <Directory Id="INSTALLFOLDER" Name="Audiofiles"> | |
| 30 | 30 | <Component Id="MainExecutable" Guid="*"> | |
| 31 | - | <File Id="AudioFilesExe" | |
| 32 | - | Source="AudioFiles.exe" | |
| 31 | + | <File Id="AudiofilesExe" | |
| 32 | + | Source="Audiofiles.exe" | |
| 33 | 33 | KeyPath="yes" /> | |
| 34 | 34 | </Component> | |
| 35 | 35 | </Directory> | |
| 36 | 36 | </Directory> | |
| 37 | 37 | <Directory Id="ProgramMenuFolder"> | |
| 38 | 38 | <Component Id="StartMenuShortcut" Guid="*"> | |
| 39 | - | <Shortcut Id="AudioFilesShortcut" | |
| 40 | - | Name="AudioFiles" | |
| 41 | - | Target="[INSTALLFOLDER]AudioFiles.exe" | |
| 39 | + | <Shortcut Id="AudiofilesShortcut" | |
| 40 | + | Name="Audiofiles" | |
| 41 | + | Target="[INSTALLFOLDER]Audiofiles.exe" | |
| 42 | 42 | WorkingDirectory="INSTALLFOLDER" /> | |
| 43 | 43 | <RegistryValue Root="HKCU" | |
| 44 | - | Key="Software\AudioFiles" | |
| 44 | + | Key="Software\Audiofiles" | |
| 45 | 45 | Name="installed" | |
| 46 | 46 | Type="integer" | |
| 47 | 47 | Value="1" | |
| @@ -51,7 +51,7 @@ | |||
| 51 | 51 | </Directory> | |
| 52 | 52 | </Directory> | |
| 53 | 53 | ||
| 54 | - | <Feature Id="Complete" Title="AudioFiles" Level="1"> | |
| 54 | + | <Feature Id="Complete" Title="Audiofiles" Level="1"> | |
| 55 | 55 | <ComponentRef Id="MainExecutable" /> | |
| 56 | 56 | <ComponentRef Id="StartMenuShortcut" /> | |
| 57 | 57 | </Feature> |
| @@ -9,7 +9,7 @@ ARCH=$(uname -m) | |||
| 9 | 9 | ||
| 10 | 10 | # Read version from Cargo.toml | |
| 11 | 11 | VERSION=$(grep '^version' "$PROJECT_DIR/crates/audiofiles-app/Cargo.toml" | head -1 | sed 's/.*"\(.*\)".*/\1/') | |
| 12 | - | echo "Building AudioFiles v${VERSION} AppImage (${ARCH})" | |
| 12 | + | echo "Building Audiofiles v${VERSION} AppImage (${ARCH})" | |
| 13 | 13 | ||
| 14 | 14 | # Step 1: Build release binary | |
| 15 | 15 | echo "==> Building release binary..." | |
| @@ -47,7 +47,7 @@ fi | |||
| 47 | 47 | ||
| 48 | 48 | # Step 4: Build AppImage | |
| 49 | 49 | echo "==> Creating AppImage..." | |
| 50 | - | APPIMAGE_NAME="AudioFiles-${VERSION}-${ARCH}.AppImage" | |
| 50 | + | APPIMAGE_NAME="Audiofiles-${VERSION}-${ARCH}.AppImage" | |
| 51 | 51 | APPIMAGE_PATH="$DIST_DIR/$APPIMAGE_NAME" | |
| 52 | 52 | rm -f "$APPIMAGE_PATH" | |
| 53 | 53 |
| @@ -8,7 +8,7 @@ ARCH=$(dpkg --print-architecture 2>/dev/null || echo "amd64") | |||
| 8 | 8 | ||
| 9 | 9 | # Read version from Cargo.toml | |
| 10 | 10 | VERSION=$(grep '^version' "$PROJECT_DIR/crates/audiofiles-app/Cargo.toml" | head -1 | sed 's/.*"\(.*\)".*/\1/') | |
| 11 | - | echo "Building AudioFiles v${VERSION} .deb (${ARCH})" | |
| 11 | + | echo "Building Audiofiles v${VERSION} .deb (${ARCH})" | |
| 12 | 12 | ||
| 13 | 13 | # Step 1: Build release binary | |
| 14 | 14 | echo "==> Building release binary..." | |
| @@ -49,7 +49,7 @@ Installed-Size: ${INSTALLED_SIZE} | |||
| 49 | 49 | Maintainer: Maxwell Morgan Johnson <max@makenot.work> | |
| 50 | 50 | Homepage: https://makenot.work/p/audiofiles | |
| 51 | 51 | Description: Sample manager with content-addressed storage | |
| 52 | - | AudioFiles is a desktop sample manager with content-addressed storage, | |
| 52 | + | Audiofiles is a desktop sample manager with content-addressed storage, | |
| 53 | 53 | virtual filesystem, and cloud sync. Supports WAV, FLAC, MP3, OGG, and | |
| 54 | 54 | AIFF formats. | |
| 55 | 55 | CONTROL |
| @@ -16,11 +16,11 @@ done | |||
| 16 | 16 | ||
| 17 | 17 | # Read version from Cargo.toml | |
| 18 | 18 | VERSION=$(grep '^version' "$PROJECT_DIR/crates/audiofiles-app/Cargo.toml" | head -1 | sed 's/.*"\(.*\)".*/\1/') | |
| 19 | - | echo "Building AudioFiles v${VERSION}" | |
| 19 | + | echo "Building Audiofiles v${VERSION}" | |
| 20 | 20 | ||
| 21 | 21 | ARCH=$(uname -m) | |
| 22 | - | APP_BUNDLE="$DIST_DIR/AudioFiles.app" | |
| 23 | - | DMG_NAME="AudioFiles_${VERSION}_${ARCH}.dmg" | |
| 22 | + | APP_BUNDLE="$DIST_DIR/Audiofiles.app" | |
| 23 | + | DMG_NAME="Audiofiles_${VERSION}_${ARCH}.dmg" | |
| 24 | 24 | DMG_PATH="$DIST_DIR/$DMG_NAME" | |
| 25 | 25 | SIGNING_IDENTITY="Developer ID Application: MAXWELL MORGAN JOHNSON (93C54W92UP)" | |
| 26 | 26 | NOTARY_PROFILE="notarytool-profile" | |
| @@ -51,7 +51,7 @@ if [ ! -f "$APP_BUNDLE/Contents/Info.plist" ] || [ ! -s "$APP_BUNDLE/Contents/In | |||
| 51 | 51 | <plist version="1.0"> | |
| 52 | 52 | <dict> | |
| 53 | 53 | <key>CFBundleName</key> | |
| 54 | - | <string>AudioFiles</string> | |
| 54 | + | <string>Audiofiles</string> | |
| 55 | 55 | <key>CFBundleIdentifier</key> | |
| 56 | 56 | <string>com.audiofiles.app</string> | |
| 57 | 57 | <key>CFBundleVersion</key> | |
| @@ -110,7 +110,7 @@ mkdir -p "$DMG_STAGING" | |||
| 110 | 110 | cp -R "$APP_BUNDLE" "$DMG_STAGING/" | |
| 111 | 111 | ln -s /Applications "$DMG_STAGING/Applications" | |
| 112 | 112 | ||
| 113 | - | hdiutil create -volname "AudioFiles" \ | |
| 113 | + | hdiutil create -volname "Audiofiles" \ | |
| 114 | 114 | -srcfolder "$DMG_STAGING" \ | |
| 115 | 115 | -ov -format UDZO \ | |
| 116 | 116 | "$DMG_PATH" |
| @@ -1,6 +1,6 @@ | |||
| 1 | 1 | <# | |
| 2 | 2 | .SYNOPSIS | |
| 3 | - | Build AudioFiles MSI natively on windows-x86 (per the native-builds-per-arch | |
| 3 | + | Build Audiofiles MSI natively on windows-x86 (per the native-builds-per-arch | |
| 4 | 4 | policy). Also produces a matching standalone .exe. | |
| 5 | 5 | ||
| 6 | 6 | .DESCRIPTION | |
| @@ -37,7 +37,7 @@ $VersionLine = Select-String -Path $AppCargo -Pattern '^version\s*=\s*"([^"]+)"' | |||
| 37 | 37 | if (-not $VersionLine) { throw "Could not parse version from $AppCargo" } | |
| 38 | 38 | $Version = $VersionLine.Matches[0].Groups[1].Value | |
| 39 | 39 | $WixVersion = "$Version.0" # WiX requires four-part version | |
| 40 | - | Write-Host "Building AudioFiles v$Version MSI ($Target)" -ForegroundColor Cyan | |
| 40 | + | Write-Host "Building Audiofiles v$Version MSI ($Target)" -ForegroundColor Cyan | |
| 41 | 41 | ||
| 42 | 42 | # Prerequisites | |
| 43 | 43 | foreach ($tool in @('candle.exe', 'light.exe')) { | |
| @@ -68,7 +68,7 @@ Write-Host "==> Staging files..." -ForegroundColor Cyan | |||
| 68 | 68 | $Staging = Join-Path $DistDir '.msi-staging' | |
| 69 | 69 | if (Test-Path $Staging) { Remove-Item -Recurse -Force $Staging } | |
| 70 | 70 | New-Item -ItemType Directory -Path $Staging | Out-Null | |
| 71 | - | Copy-Item $ExeSrc (Join-Path $Staging 'AudioFiles.exe') | |
| 71 | + | Copy-Item $ExeSrc (Join-Path $Staging 'Audiofiles.exe') | |
| 72 | 72 | Copy-Item (Join-Path $DistDir 'audiofiles.png') (Join-Path $Staging 'audiofiles.png') | |
| 73 | 73 | ||
| 74 | 74 | # Optional: sign the EXE before embedding it in the MSI so it's signed in-place. | |
| @@ -93,7 +93,7 @@ function Invoke-Signtool { | |||
| 93 | 93 | return $true | |
| 94 | 94 | } | |
| 95 | 95 | ||
| 96 | - | $StagedExe = Join-Path $Staging 'AudioFiles.exe' | |
| 96 | + | $StagedExe = Join-Path $Staging 'Audiofiles.exe' | |
| 97 | 97 | $signed = Invoke-Signtool -Path $StagedExe | |
| 98 | 98 | if (-not $signed) { | |
| 99 | 99 | Write-Host "==> AF_SIGN_CERT unset — producing UNSIGNED build (see docs/deploy.md)" -ForegroundColor Yellow | |
| @@ -106,7 +106,7 @@ $Wxs = Join-Path $Staging 'audiofiles.wxs' | |||
| 106 | 106 | ||
| 107 | 107 | # Step 4: candle + light → MSI | |
| 108 | 108 | Write-Host "==> Building MSI..." -ForegroundColor Cyan | |
| 109 | - | $MsiName = "AudioFiles_${Version}_x86_64.msi" | |
| 109 | + | $MsiName = "Audiofiles_${Version}_x86_64.msi" | |
| 110 | 110 | $MsiPath = Join-Path $DistDir $MsiName | |
| 111 | 111 | if (Test-Path $MsiPath) { Remove-Item -Force $MsiPath } | |
| 112 | 112 | ||
| @@ -121,7 +121,7 @@ Invoke-Signtool -Path $MsiPath | Out-Null | |||
| 121 | 121 | ||
| 122 | 122 | # Step 6: Cleanup + ship the standalone .exe alongside | |
| 123 | 123 | Remove-Item -Recurse -Force $Staging | |
| 124 | - | $ExeDest = Join-Path $DistDir "AudioFiles_${Version}_x86_64.exe" | |
| 124 | + | $ExeDest = Join-Path $DistDir "Audiofiles_${Version}_x86_64.exe" | |
| 125 | 125 | Copy-Item $ExeSrc $ExeDest | |
| 126 | 126 | # Re-sign the standalone exe (the one we signed earlier was the staged copy). | |
| 127 | 127 | Invoke-Signtool -Path $ExeDest | Out-Null |
| @@ -8,7 +8,7 @@ TARGET="x86_64-pc-windows-msvc" | |||
| 8 | 8 | ||
| 9 | 9 | # Read version from Cargo.toml | |
| 10 | 10 | VERSION=$(grep '^version' "$PROJECT_DIR/crates/audiofiles-app/Cargo.toml" | head -1 | sed 's/.*"\(.*\)".*/\1/') | |
| 11 | - | echo "Building AudioFiles v${VERSION} MSI (${TARGET})" | |
| 11 | + | echo "Building Audiofiles v${VERSION} MSI (${TARGET})" | |
| 12 | 12 | ||
| 13 | 13 | # Prerequisites check | |
| 14 | 14 | if ! command -v cargo-xwin &>/dev/null; then | |
| @@ -42,7 +42,7 @@ echo "==> Staging files..." | |||
| 42 | 42 | STAGING="$DIST_DIR/.msi-staging" | |
| 43 | 43 | rm -rf "$STAGING" | |
| 44 | 44 | mkdir -p "$STAGING" | |
| 45 | - | cp "$EXE_SRC" "$STAGING/AudioFiles.exe" | |
| 45 | + | cp "$EXE_SRC" "$STAGING/Audiofiles.exe" | |
| 46 | 46 | cp "$DIST_DIR/audiofiles.png" "$STAGING/audiofiles.png" | |
| 47 | 47 | ||
| 48 | 48 | # Step 3: Generate WiX source from the shared template | |
| @@ -58,7 +58,7 @@ sed "s/@VERSION@/${VERSION}.0/g" "$WXS_TEMPLATE" > "$WXS" | |||
| 58 | 58 | ||
| 59 | 59 | # Step 4: Build MSI | |
| 60 | 60 | echo "==> Building MSI..." | |
| 61 | - | MSI_NAME="AudioFiles_${VERSION}_x86_64.msi" | |
| 61 | + | MSI_NAME="Audiofiles_${VERSION}_x86_64.msi" | |
| 62 | 62 | MSI_PATH="$DIST_DIR/$MSI_NAME" | |
| 63 | 63 | rm -f "$MSI_PATH" | |
| 64 | 64 | ||
| @@ -68,7 +68,7 @@ wixl -v -o "$MSI_PATH" "$WXS" -D SourceDir="$STAGING" | |||
| 68 | 68 | rm -rf "$STAGING" | |
| 69 | 69 | ||
| 70 | 70 | # Also copy standalone exe | |
| 71 | - | EXE_DEST="$DIST_DIR/AudioFiles_${VERSION}_x86_64.exe" | |
| 71 | + | EXE_DEST="$DIST_DIR/Audiofiles_${VERSION}_x86_64.exe" | |
| 72 | 72 | cp "$EXE_SRC" "$EXE_DEST" | |
| 73 | 73 | ||
| 74 | 74 | echo "" |
| @@ -8,7 +8,7 @@ TARGET="x86_64-pc-windows-msvc" | |||
| 8 | 8 | ||
| 9 | 9 | # Read version from Cargo.toml | |
| 10 | 10 | VERSION=$(grep '^version' "$PROJECT_DIR/crates/audiofiles-app/Cargo.toml" | head -1 | sed 's/.*"\(.*\)".*/\1/') | |
| 11 | - | echo "Building AudioFiles v${VERSION} Windows (${TARGET})" | |
| 11 | + | echo "Building Audiofiles v${VERSION} Windows (${TARGET})" | |
| 12 | 12 | ||
| 13 | 13 | # Prerequisites check | |
| 14 | 14 | if ! command -v cargo-xwin &>/dev/null; then | |
| @@ -36,7 +36,7 @@ if [ ! -f "$SRC" ]; then | |||
| 36 | 36 | exit 1 | |
| 37 | 37 | fi | |
| 38 | 38 | ||
| 39 | - | DEST="$DIST_DIR/AudioFiles_${VERSION}_x86_64.exe" | |
| 39 | + | DEST="$DIST_DIR/Audiofiles_${VERSION}_x86_64.exe" | |
| 40 | 40 | cp "$SRC" "$DEST" | |
| 41 | 41 | ||
| 42 | 42 | echo "" |