From 39b2bc63480890f7ed417b2c040eecf80c4628a0 Mon Sep 17 00:00:00 2001 From: Lahfir Date: Tue, 3 Mar 2026 06:49:56 -0800 Subject: [PATCH] fix: show skill install prompt on all success paths promptSkillInstall() was only called after fresh download. Now also shows when binary already exists or comes from AGENT_DESKTOP_BINARY_PATH. --- npm/scripts/postinstall.js | 2 ++ 1 file changed, 2 insertions(+) diff --git a/npm/scripts/postinstall.js b/npm/scripts/postinstall.js index 4957326..4925d77 100644 --- a/npm/scripts/postinstall.js +++ b/npm/scripts/postinstall.js @@ -138,6 +138,7 @@ function main() { chmodSync(binaryPath, 0o755); log(`Using binary from AGENT_DESKTOP_BINARY_PATH: ${customPath}`); fixGlobalInstallBin(); + promptSkillInstall(); return; } catch (err) { log(`Failed to copy from AGENT_DESKTOP_BINARY_PATH: ${err.message}`); @@ -149,6 +150,7 @@ function main() { chmodSync(binaryPath, 0o755); log(`Native binary ready: ${binaryName}`); fixGlobalInstallBin(); + promptSkillInstall(); return; }