1
1
mirror of https://github.com/agateau/pixelwheels.git synced 2025-10-05 17:32:39 +02:00

Document the packaging

This commit is contained in:
Aurelien Gateau
2022-02-19 20:49:40 +01:00
parent 930cbc0134
commit faa3325dba
3 changed files with 24 additions and 0 deletions

View File

@@ -0,0 +1,3 @@
kind: Added
body: 'Linux: It''s now possible to `make install` the game.'
time: 2022-02-19T20:36:50.289914066+01:00

0
.changie.yaml Executable file → Normal file
View File

21
docs/packaging.md Normal file
View File

@@ -0,0 +1,21 @@
# Packaging
## Desktop: all-in-one zip files
The `desktop-archives` Makefile target generates self-contained zip files for all desktop platforms. These zip files contain a reduced version of the JRE, so the player does not have to install Java separately.
## Linux Desktop: classic install
On Linux, if you build the game yourself, you can use the `install` Makefile target to install it locally. It supports the classic `DESTDIR` and `prefix` variables. This should provide a good basis to anyone looking into building a distribution package for the game.
## Linux Desktop: Flathub
The game is packaged for Flathub. Its Flathub repository is [flathub/com.agateau.PixelWheels](https://github.com/flathub/com.agateau.PixelWheels).
## Android
The `apk-archives` Makefile target generates signed Android APK files. Generating these requires a valid `android/signing.gradle` file.
This file is confidential, so you need to create your own version of it. Have a look at [android/signing-sample.gradle](android/signing-sample.gradle) to see what it should look like.
At the moment there are two APK flavors: Google and itchio. The Google one does not contain the support links, because those are against Google Play policies.