agent-afk 5.222.6 → 5.222.7
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/postinstall.mjs
CHANGED
|
@@ -169,7 +169,7 @@ export function restartLaunchdServices(opts = {}) {
|
|
|
169
169
|
// Falls back to raw kickstart when dist/cli.mjs is unavailable
|
|
170
170
|
// (e.g. source checkout without a build).
|
|
171
171
|
let restarted_via_cli = false;
|
|
172
|
-
if (
|
|
172
|
+
if (existsFn(cliMjs)) {
|
|
173
173
|
try {
|
|
174
174
|
restartFn(process.execPath, cliMjs, name);
|
|
175
175
|
restarted_via_cli = true;
|