CDDA Linux Launcher
- status:
- active
- oneline:
- a Linux launcher for CDDA
At the very least, I desire a means to automatically update my CDDA installation on Linux. Ideally I'd like to mimic the functionality of the Windows launcher.
Design
We can pull release data from the GitHub API (https://api.github.com/repos/CleverRaven/Cataclysm-DDA/releases
). The relevant fields in the resulting JSON are:
-
.[n]
: (n+1)th most recent release-
.name
-
.published_at
-
.tag_name
-
.target_commitish
-
.prerelease
-
.body
(markdown text) -
.assets[i]
-
.name
(includes platform and graphics) -
.browser_download_url
-
.content_type
The general flow could be:
-
pull release endpoint
-
show release info
-
prompt user for release to install (config graphics/sound)
-
download & extract files
-
copy files to install directory
-
adjust symlinks as necessary
Configuration and installation data can be stored under
~/.config/cllr
. -
-
- rnd/projects/cllr.txt
- Last modified: 2023-01-16 23:49
- by asdf