mirror of
https://github.com/lahfir/agent-desktop.git
synced 2026-07-26 17:12:15 +00:00
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.
This commit is contained in:
parent
ceb02470c1
commit
39b2bc6348
1 changed files with 2 additions and 0 deletions
|
|
@ -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;
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Reference in a new issue