@mutmutco/hub 4.5.10 → 4.5.12
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.
- package/dist/index.cjs +3 -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.
|
|
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
|
-
|
|
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