From c5501c945fe3cf8c85e2f6a4d4ac67dea028bbd0 Mon Sep 17 00:00:00 2001 From: SRS IT Date: Sun, 29 Mar 2026 00:06:51 -0400 Subject: [PATCH] debug: diagnose app-builder path from desktop working directory --- .github/workflows/build-linux.yml | 17 +++++++++++++++++ 1 file changed, 17 insertions(+) diff --git a/.github/workflows/build-linux.yml b/.github/workflows/build-linux.yml index ff1fbe4..be70169 100644 --- a/.github/workflows/build-linux.yml +++ b/.github/workflows/build-linux.yml @@ -51,6 +51,23 @@ jobs: run: node scripts/bundle-standalone.js working-directory: apps/desktop + - name: Diagnose app-builder path from desktop context + run: | + node -e " + const p = require('./node_modules/app-builder-bin'); + console.log('appBuilderPath:', p.appBuilderPath); + const fs = require('fs'); + const exists = fs.existsSync(p.appBuilderPath); + console.log('file exists:', exists); + if (exists) { + const stat = fs.statSync(p.appBuilderPath); + console.log('mode:', stat.mode.toString(8)); + console.log('size:', stat.size); + } + " + find /home/runner/work -name "app-builder" -not -path "*/proc/*" 2>/dev/null + working-directory: apps/desktop + - name: Build Linux x64 packages run: npx electron-builder --linux --x64 working-directory: apps/desktop