8051Enthusiast / biodiff

Hex diff viewer using alignment algorithms from biology
MIT License
818 stars 27 forks source link

Add BIODIFF_CONFIG_DIR env variable to set custom settings directory #8

Closed MatejKafka closed 2 years ago

MatejKafka commented 2 years ago

With this environment variable, biodiff can be used as a fully portable application from e.g. a USB flash drive, by creating a launcher script that sets the environment variable.

Environment variable works better than a CLI option, because it automatically propagates through git-biodiff, git and other possible wrapper commands.

8051Enthusiast commented 2 years ago

Thanks for the pull request, everything looks fine to me.

Should probably do a release soon to include this feature, but first I'll have to fix some bugs.