Web runner for Lutris
Launch web pages as standalone apps. Can be used outside of Lutris. Uses Electron.
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.
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]