@mutmutco/hub 4.5.9 → 4.5.11

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.
Files changed (2) hide show
  1. package/dist/index.cjs +3 -2
  2. package/package.json +1 -1
package/dist/index.cjs CHANGED
@@ -1218,7 +1218,7 @@ async function runMaintenance(product, args, dependencies) {
1218
1218
  return 0;
1219
1219
  }
1220
1220
  for (const arm of pending) emitArm(arm);
1221
- if (dependencies.launcher && env.MM_OUTER_CONSOLE !== "1") {
1221
+ if (dependencies.launcher && env.MM_LAUNCHER_REFRESHED !== "1") {
1222
1222
  const arm = await dependencies.launcher({ dryRun });
1223
1223
  launcherArm = arm;
1224
1224
  if (arm) {
@@ -1556,7 +1556,8 @@ async function refreshLauncher(target, options = {}) {
1556
1556
  if (compareVersions(record.version, from) <= 0) return arm("ok", from, "");
1557
1557
  if (options.dryRun) return arm("ok", record.version, "");
1558
1558
  let unlock;
1559
- if (!options.lockHeld) {
1559
+ const lockHeld = options.lockHeld ?? process.env.MM_OUTER_CONSOLE === "1";
1560
+ if (!lockHeld) {
1560
1561
  try {
1561
1562
  unlock = lockInstallation(productDir);
1562
1563
  } catch {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@mutmutco/hub",
3
- "version": "4.5.9",
3
+ "version": "4.5.11",
4
4
  "description": "Install and maintain the MMI CLI and every present host surface from one release-gated Hub command.",
5
5
  "type": "module",
6
6
  "license": "UNLICENSED",