https://github.com/daniel-j/lutris-electron-runner
https://github.com/daniel-j/lutris-electron-runner
Last synced: 11 months ago
JSON representation
- Host: GitHub
- URL: https://github.com/daniel-j/lutris-electron-runner
- Owner: daniel-j
- Created: 2016-09-28T20:06:57.000Z (over 9 years ago)
- Default Branch: master
- Last Pushed: 2016-10-08T08:30:21.000Z (over 9 years ago)
- Last Synced: 2024-12-29T01:31:25.273Z (over 1 year ago)
- Language: JavaScript
- Size: 134 KB
- Stars: 0
- Watchers: 3
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
Repository has moved!
---
https://github.com/lutris/web-runner
---
Web runner for [Lutris](https://lutris.net/)
===
Launch web pages as standalone apps. Can be used outside of Lutris. Uses [Electron](http://electron.atom.io/).
This is a work in progress
---
Build
---
For building you need to install [Node.JS](https://nodejs.org/), 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 -- [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 [flags]
ENABLE_FLASH_PLAYER=1 build/web-x86_64/electron/electron build/web-x86_64/electron/resources/app.asar [flags]
```