openmausbot 0.1.69 → 0.1.70

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -135,9 +135,11 @@ function windowsKnownDirs() {
135
135
  var cached = null;
136
136
  var probed = false;
137
137
  var loginShellPath = null;
138
+ var registeredDirs = [];
138
139
  function augmentedPath() {
139
140
  if (cached === null) {
140
141
  cached = mergePaths([
142
+ ...registeredDirs.filter((d) => existsSync(d)),
141
143
  ...process.env.OMB_EXTRA_PATH ? process.env.OMB_EXTRA_PATH.split(delimiter) : [],
142
144
  ...process.env.PATH ? process.env.PATH.split(delimiter) : [],
143
145
  // Keep the last successful login-shell result while a rescan starts a