#!/bin/bash set -e echo "===== Web2App Linux Build Script =====" echo "1. Installing dependencies..." npm install echo "2. Building frontend..." npm run build echo "3. Building Linux package (AppImage + deb)..." npx electron-builder --config --linux echo "===== Build Complete =====" echo "Output: release/" ls -lh release/