Goal
Ensure Cooper works on Linux and create distributable packages.
Priority
P2 - Platform support - 4-6 hours
Implementation Details
1. Test Build on Linux
Set up Linux environment (VM or GitHub Actions):
- Test npm install
- Test npm run build
- Fix any node-pty or native module issues
2. Common Linux Issues
- node-pty compilation: needs build-essential, python3
- Electron sandbox: may need --no-sandbox flag
- File permissions
3. Create Linux Packages
Add to electron-builder config:
linux target: AppImage, deb
category: Development
4. Update CI
Add Linux to build matrix in GitHub Actions.
Files to Modify
- package.json (electron-builder config)
- .github/workflows/ (CI for Linux)
- README.md (Linux prerequisites)
Prerequisites for Linux Users
- Node.js 18+
- build-essential: sudo apt install build-essential
- Python 3: sudo apt install python3
Acceptance Criteria
- npm install succeeds on Ubuntu 22.04+
- npm run build succeeds
- AppImage runs correctly
- Added to CI build matrix
Goal
Ensure Cooper works on Linux and create distributable packages.
Priority
P2 - Platform support - 4-6 hours
Implementation Details
1. Test Build on Linux
Set up Linux environment (VM or GitHub Actions):
2. Common Linux Issues
3. Create Linux Packages
Add to electron-builder config:
linux target: AppImage, deb
category: Development
4. Update CI
Add Linux to build matrix in GitHub Actions.
Files to Modify
Prerequisites for Linux Users
Acceptance Criteria