Add APPDIR

This commit is contained in:
2026-01-06 02:09:41 +01:00
committed by GitHub
parent 5e37184d82
commit b0c9e742da

View File

@@ -16,6 +16,7 @@ on:
jobs:
build:
timeout-minutes: 5
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
@@ -33,6 +34,7 @@ jobs:
run: mvn -B verify
electron-build:
timeout-minutes: 5
name: Electron packages (${{ matrix.os }})
if: github.event_name == 'push' && github.ref == 'refs/heads/master'
runs-on: ${{ matrix.os }}
@@ -73,8 +75,7 @@ jobs:
./dist/*.AppImage --appimage-extract
sudo apt-get update
sudo apt-get install -y xvfb
cd squashfs-root
xvfb-run squashfs-root/AppRun --no-sandbox
APPDIR="$(pwd)" xvfb-run ./AppRun --no-sandbox
- name: Smoke test Windows exe
if: matrix.os == 'windows-latest'
@@ -100,6 +101,7 @@ jobs:
dist/*.dmg
docker:
timeout-minutes: 5
runs-on: ubuntu-latest
needs: build
steps: