53 lines
996 B
Markdown
53 lines
996 B
Markdown
# electron-tests
|
|
|
|
Electron tray/window test app for CI/CD validation.
|
|
|
|
## Features
|
|
|
|
- Tray icon + context menu
|
|
- Main desktop window
|
|
- Simple status UI showing runtime versions
|
|
|
|
## Run locally
|
|
|
|
```bash
|
|
npm ci
|
|
npm start
|
|
```
|
|
|
|
## Build AppImage
|
|
|
|
```bash
|
|
npm run build:linux:amd64
|
|
npm run build:linux:arm64
|
|
```
|
|
|
|
Artifacts are produced via CI workflows:
|
|
|
|
- `electron-linux-amd64`
|
|
- `electron-linux-arm64`
|
|
|
|
## Running on Ubuntu 24.04+ without FUSE2
|
|
|
|
Some fresh Ubuntu installs do not include `libfuse.so.2`, so direct AppImage execution may fail.
|
|
|
|
Use one of these options:
|
|
|
|
```bash
|
|
# preferred package on Ubuntu 24.04+
|
|
sudo apt-get update && sudo apt-get install -y libfuse2t64
|
|
|
|
# then run AppImage normally
|
|
./electron_tray_demo-linux-<arch>-run<run>.AppImage
|
|
```
|
|
|
|
Or run without installing FUSE:
|
|
|
|
```bash
|
|
APPIMAGE_EXTRACT_AND_RUN=1 ./electron_tray_demo-linux-<arch>-run<run>.AppImage
|
|
```
|
|
|
|
CI artifacts also include a convenience launcher:
|
|
|
|
- `run-electron_tray_demo-linux-<arch>-run<run>-no-fuse.sh`
|