YC (S26) | Open Computer History | Continuously record your company computer work, map your workflows, help you find work worth automating, and power your agents' context
Rust agentsagiaiai-memoryaudio-recordingcomputer-visionhermeshermes-agentllmlocal-ailocal-firstmachine-learningmcpmultimodalopenclawprivacyrewindscreen-recordingspeech-to-textycombinator
feat: separate beta app build with own identifier + updater endpoints
Louis Beaumont4f0e07055ba1
diff --git a/.github/workflows/release-app.yml b/.github/workflows/release-app.ymlindex ff91c7b2b..11290ae84 100644--- a/.github/workflows/release-app.yml+++ b/.github/workflows/release-app.yml@@ -745,8 +745,21 @@ jobs:Write-Host "Skipping stable upload (beta-only build)"}- # Upload to beta channel+ # Rebuild with beta config and upload to beta channel+ # Current dir: apps/screenpipe-app-tauri/src-tauriif ($env:SHOULD_BETA -eq "true" -or $env:IS_DISPATCH -eq "true") {+ Write-Host "=== Rebuilding with beta config ==="+ # Swap to beta config (we're in src-tauri/)+ Copy-Item "tauri.beta.conf.json" "tauri.conf.json" -Force+ # Clean old bundle artifacts+ $bundlePath = "target/x86_64-pc-windows-msvc/release/bundle"+ if (Test-Path $bundlePath) { Remove-Item -Recurse -Force $bundlePath }+ # Rebuild (Rust cached, just repackages) - run from project root+ Push-Location ..+ bunx tauri build --target x86_64-pc-windows-msvc --features official-build+ Pop-Location+ Write-Host "=== Beta rebuild complete ==="+Write-Host "Uploading to beta channel..."try {& $cliFullPath release upload ${{ secrets.CN_APP_SLUG_BETA }} --framework tauri -vv@@ -766,6 +779,31 @@ jobs:api-key: ${{ secrets.CN_API_KEY }}path: ./apps/screenpipe-app-tauri/src-tauri+ - name: Rebuild with beta config (Non-Windows)+ if: matrix.os_type != 'windows' && (needs.check_commit.outputs.should_beta == 'true' || github.event_name == 'workflow_dispatch')+ continue-on-error: true+ shell: bash+ env:+ TAURI_SIGNING_PRIVATE_KEY: ${{ secrets.TAURI_PRIVATE_KEY }}+ TAURI_SIGNING_PRIVATE_KEY_PASSWORD: ${{ secrets.TAURI_KEY_PASSWORD }}+ APPLE_CERTIFICATE: ${{ secrets.APPLE_CERTIFICATE }}+ APPLE_CERTIFICATE_PASSWORD: ${{ secrets.APPLE_CERTIFICATE_PASSWORD }}+ APPLE_SIGNING_IDENTITY: ${{ secrets.APPLE_SIGNING_IDENTITY }}+ APPLE_ID: ${{ secrets.APPLE_ID }}+ APPLE_PASSWORD: ${{ secrets.APPLE_PASSWORD }}+ APPLE_TEAM_ID: ${{ secrets.APPLE_TEAM_ID }}+ CI: true+ MACOSX_DEPLOYMENT_TARGET: "10.15"+ run: |+ echo "=== Rebuilding with beta config ==="+ # Swap to beta config (Rust is already compiled, this just repackages)+ cp apps/screenpipe-app-tauri/src-tauri/tauri.beta.conf.json apps/screenpipe-app-tauri/src-tauri/tauri.conf.json+ # Clean old bundle artifacts so beta gets its own+ rm -rf apps/screenpipe-app-tauri/src-tauri/target/*/release/bundle+ cd apps/screenpipe-app-tauri+ bunx tauri build ${{ steps.tauri-args.outputs.args || matrix.tauri-args }}+ echo "=== Beta rebuild complete ==="+- name: Upload Assets to CrabNebula Beta (Non-Windows)if: matrix.os_type != 'windows' && (needs.check_commit.outputs.should_beta == 'true' || github.event_name == 'workflow_dispatch')uses: crabnebula-dev/[email protected]diff --git a/apps/screenpipe-app-tauri/src-tauri/tauri.beta.conf.json b/apps/screenpipe-app-tauri/src-tauri/tauri.beta.conf.jsonindex 8c6d0312d..89052794b 100644--- a/apps/screenpipe-app-tauri/src-tauri/tauri.beta.conf.json+++ b/apps/screenpipe-app-tauri/src-tauri/tauri.beta.conf.json@@ -12,8 +12,8 @@"createUpdaterArtifacts": true,"active": true,"category": "DeveloperTool",- "shortDescription": "24/7 memory for your desktop (Beta)",- "longDescription": "24/7 memory for your desktop. 100% local. You own your data. Beta version for testing experimental features.",+ "shortDescription": "24/7 memory for your desktop",+ "longDescription": "24/7 memory for your desktop. 100% local. You own your data.","copyright": "","targets": ["app",@@ -24,17 +24,16 @@],"externalBin": [],"icon": [- "icons/beta/32x32.png",- "icons/beta/128x128.png",- "icons/beta/[email protected]",- "icons/beta/256x256.png",- "icons/beta/512x512.png",- "icons/beta/1024x1024.png",- "icons/beta/icon.icns",- "icons/beta/icon.ico",+ "icons/32x32.png",+ "icons/128x128.png",+ "icons/[email protected]",+ "icons/256x256.png",+ "icons/512x512.png",+ "icons/1024x1024.png",+ "icons/icon.icns",+ "icons/icon.ico","icons/screenpipe-logo-tray-failed.png",- "icons/screenpipe-logo-tray-black.png",- "icons/screenpipe-logo-tray-beta.png"+ "icons/screenpipe-logo-tray-black.png"],"resources": ["assets/*"@@ -48,6 +47,7 @@"active": true,"dialog": false,"endpoints": [+ "https://screenpi.pe/api/app-update/beta/{{target}}-{{arch}}/{{current_version}}","https://cdn.crabnebula.app/update/mediar/screenpipe-beta/{{target}}-{{arch}}/{{current_version}}"],"pubkey": "dW50cnVzdGVkIGNvbW1lbnQ6IG1pbmlzaWduIHB1YmxpYyBrZXk6IDIyQjQ2RkQzMUNBOUFDMTcKUldRWHJLa2MwMiswSWl3RlBGUW5zYUE0Zm0vNFFRRTltNUZZTUVxR2FxUDNtSWdUSHgyL3JNcmcK"@@ -108,7 +108,7 @@"withGlobalTauri": true,"trayIcon": {"id": "screenpipe_main",- "iconPath": "assets/screenpipe-logo-tray-beta-white.png",+ "iconPath": "assets/screenpipe-logo-tray-white.png","iconAsTemplate": true,"menuOnLeftClick": true},@@ -116,11 +116,12 @@"assetProtocol": {"enable": true,"scope": [- "$APPDATA/**"+ "$APPDATA/**",+ "$HOME/.screenpipe/**"]},"csp": null},"macOSPrivateApi": true}-}+}\ No newline at end of file