@modelzen/feishu-codex-bridge 0.1.4 → 0.1.5
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/cli.js +3 -3
- package/package.json +1 -1
package/dist/cli.js
CHANGED
|
@@ -3041,9 +3041,9 @@ async function restartLaunchd() {
|
|
|
3041
3041
|
throw new Error(`launchd service \u672A\u5B89\u88C5\uFF1A${launchAgentPlistPath()}`);
|
|
3042
3042
|
}
|
|
3043
3043
|
if (isLoaded()) {
|
|
3044
|
-
const
|
|
3045
|
-
if (!
|
|
3046
|
-
|
|
3044
|
+
const kick = runLaunchctl(["kickstart", "-k", serviceTarget()]);
|
|
3045
|
+
if (!kick.ok) throw launchctlError("launchctl kickstart", kick);
|
|
3046
|
+
return statusLaunchd();
|
|
3047
3047
|
}
|
|
3048
3048
|
const bootstrap = runLaunchctl(["bootstrap", userTarget(), launchAgentPlistPath()]);
|
|
3049
3049
|
if (!bootstrap.ok) throw launchctlError("launchctl bootstrap", bootstrap);
|