screenFetch icon indicating copy to clipboard operation
screenFetch copied to clipboard

Extract function to parse values from config files

Open vrza opened this issue 2 years ago • 0 comments

  • Parses values from INI-style "key = value" lines
  • Only the last set value for a key is output

This should reduce some code duplication, making it easier to add support for new environments and maintain support for existing ones.

Also fixes a bug where if the same key appeared multiple times in the config file, all the values would get concatenated together.

vrza avatar Oct 20 '23 11:10 vrza