OpenXcom Forum

Contributions => Programming => Topic started by: StopIteration on January 11, 2019, 01:21:58 am

Title: Nightly auto-update script for linux
Post by: StopIteration on January 11, 2019, 01:21:58 am
I made a bash script for auto-updating the nightlies.  Additionally, it runs OpenXcom in a portable way, separating the nightly configuration from the global configuration you might use for the 1.0 release.

Installation:
Download it here (https://gist.github.com/benburrill/ec8039df9c7921a4beb8907f13c4d734)

The script depends on zenity (and curl), so you'll want to make sure you have those installed.

Other than that, all you need to do is put the run script in an empty directory and make it executable.  You'll probably want to put the UFO/TFTD data in the user sub-directory next to it.

You might also want to link the run script to somewhere in your $PATH too:
Code: [Select]
ln -s /path/to/openxcom-nightly/run ~/.local/bin/openxcom-nightly
More info about usage and configuration can be found in comments at the top of the run script