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
fix(updater): add createUpdaterArtifacts to dev config for cn CLI
Louis Beaumont754650885d5e
diff --git a/.github/workflows/release-app.yml b/.github/workflows/release-app.ymlindex c40a2a98e..ed314410e 100644--- a/.github/workflows/release-app.yml+++ b/.github/workflows/release-app.yml@@ -642,35 +642,6 @@ jobs:exit 1}- # Upload updater artifacts separately- Write-Host "Uploading updater artifacts..."- $bundleDir = "target/x86_64-pc-windows-msvc/release/bundle/nsis"-- # Find the nsis.zip file (updater artifact)- $nsisZip = Get-ChildItem -Path $bundleDir -Filter "*.nsis.zip" -ErrorAction SilentlyContinue | Select-Object -First 1-- if ($nsisZip) {- $sigFile = "$($nsisZip.FullName).sig"-- if (Test-Path $sigFile) {- Write-Host "Found updater artifacts:"- Write-Host " zip: $($nsisZip.FullName)"- Write-Host " sig: $sigFile"-- Write-Host "Uploading updater artifact for windows-x86_64"- & $cliFullPath release upload ${{ secrets.CN_APP_SLUG }} `- --file $nsisZip.FullName `- --update-platform "windows-x86_64" `- --signature $sigFile `- -vv- } else {- Write-Host "Warning: Signature file not found: $sigFile"- }- } else {- Write-Host "Warning: No .nsis.zip updater artifact found in $bundleDir"- Get-ChildItem -Path $bundleDir -ErrorAction SilentlyContinue- }-- name: Upload Assets to CrabNebula Cloud (Non-Windows)if: matrix.os_type != 'windows'uses: crabnebula-dev/[email protected]@@ -681,53 +652,6 @@ jobs:api-key: ${{ secrets.CN_API_KEY }}path: ./screenpipe-app-tauri/src-tauri- - name: Upload Updater Artifacts to CrabNebula Cloud (macOS)- if: matrix.os_type == 'macos'- shell: bash- env:- CN_API_KEY: ${{ secrets.CN_API_KEY }}- run: |- # Download cn CLI- curl -L https://cdn.crabnebula.app/download/crabnebula/cn-cli/latest/platform/darwin-binary-universal -o cn- chmod +x cn-- # Find the updater artifacts- BUNDLE_DIR="screenpipe-app-tauri/src-tauri/target/${{ matrix.target }}/release/bundle/macos"-- # Get version from Cargo.toml- VERSION=$(grep '^version = ' screenpipe-app-tauri/src-tauri/Cargo.toml | sed 's/version = "\(.*\)"/\1/')-- echo "Looking for updater artifacts in $BUNDLE_DIR"- ls -la "$BUNDLE_DIR" || true-- # Find tar.gz file (could be screenpipe.app.tar.gz or similar)- TAR_GZ=$(find "$BUNDLE_DIR" -name "*.app.tar.gz" -type f | head -1)- SIG_FILE="${TAR_GZ}.sig"-- if [ -f "$TAR_GZ" ] && [ -f "$SIG_FILE" ]; then- echo "Found updater artifacts:"- echo " tar.gz: $TAR_GZ"- echo " sig: $SIG_FILE"-- # Determine update platform based on target- if [ "${{ matrix.target }}" == "aarch64-apple-darwin" ]; then- UPDATE_PLATFORM="darwin-aarch64"- else- UPDATE_PLATFORM="darwin-x86_64"- fi-- echo "Uploading updater artifact for $UPDATE_PLATFORM"- ./cn release upload ${{ secrets.CN_APP_SLUG }} \- --file "$TAR_GZ" \- --update-platform "$UPDATE_PLATFORM" \- --signature "$SIG_FILE" \- -vv- else- echo "Warning: Could not find updater artifacts"- echo "TAR_GZ: $TAR_GZ (exists: $([ -f "$TAR_GZ" ] && echo yes || echo no))"- echo "SIG_FILE: $SIG_FILE (exists: $([ -f "$SIG_FILE" ] && echo yes || echo no))"- fi-publish-release:needs: [check_commit, publish-tauri]if: (github.event_name == 'workflow_dispatch' || needs.check_commit.outputs.should_publish == 'true') && (needs.publish-tauri.result == 'success' || needs.retry-win.result == 'success')diff --git a/screenpipe-app-tauri/src-tauri/Cargo.toml b/screenpipe-app-tauri/src-tauri/Cargo.tomlindex f39548fc3..8725090eb 100644--- a/screenpipe-app-tauri/src-tauri/Cargo.toml+++ b/screenpipe-app-tauri/src-tauri/Cargo.toml@@ -1,6 +1,6 @@[package]name = "screenpipe-app"-version = "2.0.14"+version = "2.0.15"description = "24/7 memory for your desktop. 100% local."authors = ["you"]license = ""diff --git a/screenpipe-app-tauri/src-tauri/tauri.conf.json b/screenpipe-app-tauri/src-tauri/tauri.conf.jsonindex 66cadad96..e7b52124b 100644--- a/screenpipe-app-tauri/src-tauri/tauri.conf.json+++ b/screenpipe-app-tauri/src-tauri/tauri.conf.json@@ -9,6 +9,7 @@"devUrl": "http://localhost:3000"},"bundle": {+ "createUpdaterArtifacts": true,"active": true,"category": "DeveloperTool","shortDescription": "24/7 memory for your desktop",