Skip to content

lutris/web-runner

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

67 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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]