Sammo Gabay
Sammo Gabay
@BetimBeja, good point. Similarly, `_`, `[`, and `]` can also be escaped as `[_]`, `[[]`, `[]]`, and these cases should be handled as well.
Hi there @chris--jones, any update on this issue?
> the branch still contains all the relevant changes to have this feature functional, I guess I was hoping someone else would pick it up and finish it. Good to...
What about getting the version directly from .Net: `[System.Environment]::OSVersion.Version`? Parent process is trickier, because I don't know how to do this with vanilla .Net/PS without WMI.
I was about to open an issue but I see you all are already on top of it. Keep up the great work, team Vue!
Hi @NorthernMan54, thanks for looking at this! Is there something you need me to do?
I’ve already sketched out the replacement code: ```ts type Json = string | number | boolean | null | Json[] | { [key: string]: Json }; function replaceVars(json: Json): void...
@bostrt that's actually how my reference implementation works. It replaces the secrets after the config file has been loaded and parsed into Javascript objects. The file is left as-is.
I’ve started work on this here: **https://github.com/burkenyo/homebridge/tree/replace-vars**
@NorthernMan54 The way I have it working so far it to use environment variables. This is the most straight-forward solution and supports a variety of use-cases, such as the docker...