This repository contains the manifests required to build the Ocarina of Time Randomizer on the Flatpak platform.
These steps will ensure a release can be packaged into a Flatpak.
- Install flatpak-node-generator from PyPI using
pippip install --user flatpak-node-generator
To update the Flatpak, the release version of OoT-Randomizer needs to have an updated package-lock.json that matches packages_release.json, a tag on the commit with the updated package-lock.json, and a commit hash for that tagged version.
Push these changes to the main OoT-Randomizer repository.
Pull down the tagged release and run flatpak-node-generator on the package-lock.json file.
flatpak-node-generator npm <path/to/OoT-Randomizer>/GUI/package-lock.json
Do not commit or push the resulting generated-sources.json file to the main repository.
com.ootrandomizer.electrongui.yml needs the tag and commit properties in the git source at the end of the file to be updated to match the release version. You must also replace the existing generated-sources.json with the newly generated one.
Push these changes to the Flatpak repository.