fix: install in apps/desktop dir, add ldd debug for app-builder binary

This commit is contained in:
SRS IT
2026-03-28 21:00:30 -04:00
parent 817b91960c
commit b3af43120d
+14 -6
View File
@@ -10,9 +10,7 @@ on:
jobs: jobs:
build-linux: build-linux:
runs-on: ubuntu-latest runs-on: ubuntu-22.04
container:
image: electronuserland/builder:latest
steps: steps:
- name: Checkout - name: Checkout
@@ -25,11 +23,21 @@ jobs:
- name: Install Linux build tools - name: Install Linux build tools
run: | run: |
apt-get update -qq sudo apt-get update -qq
apt-get install -y -qq rpm fakeroot dpkg libarchive-tools sudo apt-get install -y -qq rpm fakeroot dpkg libarchive-tools
- name: Install dependencies - name: Install desktop app dependencies
run: npm install --legacy-peer-deps run: npm install --legacy-peer-deps
working-directory: apps/desktop
- name: Debug app-builder binary
run: |
BINARY="node_modules/app-builder-bin/linux/x64/app-builder"
echo "Binary exists:" && ls -lh $BINARY
echo "File type:" && file $BINARY
echo "Shared libs:" && ldd $BINARY || true
echo "Try execute:" && $BINARY --version || true
working-directory: apps/desktop
- name: Vite build - name: Vite build
run: npx electron-vite build run: npx electron-vite build