Sync the env file at startup, not just at install: updates append new settings
This commit is contained in:
@@ -66,7 +66,8 @@ func sampleEntries(logFile string) []sampleEntry {
|
||||
// comment line. Everything is commented out — so all defaults apply —
|
||||
// except the CFG_VER/APP_VER header and LOG_FILE when logFile is non-empty
|
||||
// (a Windows service has no console). CFG_VER records the version that
|
||||
// wrote the file so later installs can upgrade it.
|
||||
// wrote the file so installs — and startups after an update — can upgrade
|
||||
// it.
|
||||
func SampleEnv(version, logFile string) string {
|
||||
// CFG_VER is always a concrete vX.Y.Z — never "dev". A dev build
|
||||
// stamps v0.0.0, which sorts older than any release, so the next
|
||||
|
||||
Reference in New Issue
Block a user