Add ability to use solarus-run

Fixes: #8
parent 4f98d549
......@@ -8,15 +8,24 @@ Data files for packaging the [Solarus Snap image](https://snapcraft.io/solarus)
* Run `sudo snap install solarus`
You should now have icons in your applications menu for the Quest Editor and Launcher programs.
Alternatively, run them from the terminal with `snap run solarus.launcher` and `snap run solarus.quest-editor`.
## Building
## Command line usage
* `solarus.run <gamepath>` - runs the game at **gamepath** immediately.
* `solarus.launcher` - starts Solarus Launcher GUI
* `solarus.quest-editor` - starts Solarus Quest Editor GUI
---
## Contributing
### Building
* First [install snapd](https://docs.snapcraft.io/installing-snapd/6735) and snapcraft.
* To build, simply run `snapcraft`.
* To test your build, run: `sudo snap install solarus_*.snap --dangerous`
## Publishing
### Publishing
See [*Releasing your app*](https://docs.snapcraft.io/releasing-your-app/6795).
......
......@@ -39,6 +39,15 @@ apps:
- opengl
- pulseaudio
- x11
run:
command: desktop-launch solarus-run
plugs:
- desktop
- desktop-legacy
- home
- opengl
- pulseaudio
- x11
parts:
launcher:
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment