mirror of
https://github.com/lutris/web-runner.git
synced 2026-11-05 01:27:45 +00:00
Runner for web based games using Electron
- JavaScript 83.5%
- Makefile 12.3%
- Shell 4.2%
|
|
||
|---|---|---|
| electron-launcher | ||
| scripts | ||
| .gitignore | ||
| LICENSE | ||
| Makefile | ||
| package-lock.json | ||
| package.json | ||
| README.md | ||
Web runner for Lutris
Launch web pages as standalone apps. Can be used outside of Lutris. Uses Electron.
This is a work in progress
Build
For building you need to install Node.JS, GNU Make and curl.
npm install
make # builds for current architecture
This will download electron and flash player and build to build/web-x86_64/. You can pass architecture to make or run make all to build for all supported architectures.
Usage
During development you can start the app with npm run electron -- <url> [flags]. You need to install electron either system wide or locally with npm install electron.
Example: npm run electron -- https://lutris.net --name Lutris --maximize-window --open-links
You can also do this to run a built app:
build/web-x86_64/launch.sh <url> [flags]
ENABLE_FLASH_PLAYER=1 build/web-x86_64/electron/electron build/web-x86_64/electron/resources/app.asar <url> [flags]