Auto Update Fails

未關閉
#547 3 則留言 0 個 reaction 已指派 0 人 在 GitHub 檢視

還沒有人認領這個 Issue。

評估

難度
3/5
預估耗時
1-2 天
新手友好度
55/100
Issue 類型
缺陷
描述清晰度
基本清楚
活躍度
冷清
技術堆疊
bun, macos, zsh
領域
cli, release

研究方向

首先追蹤命令 code 可執行檔的自動更新和 /update 流程,著重了解使用 bun 完成的安裝在重新啟動後如何被取代並選用。在 macOS 上使用 bun 重現問題,然後確認重新開啟的可執行檔回報的是更新後的版本,而不是 0.25.1。

由索引模型根據 Issue 內容生成。

描述

Summary

When I start command code, I get a message that it's being updated to version 0.41.1 from 0.25.1, but after exiting out of the program and opening it again it still shows version 0.25.1

I used bun to install the command code executable globally, I think this has something to do with it. After manually updating via bun install, I am getting the updated version.

Expected Behavior

The auto update should work, regardless of the package manager was use to install command code.

Actual Behavior

The auto update is updating the command code version, but upon restart it still shows the old version.

Steps to reproduce the issue
  1. Install command code using bun
  2. Run command code, auto update will trigger if it's available or run "/update" to update command code to latest version
  3. Re-open to see we are still at the last version not the latest version
Command Code Version

v0.25.1

Operating System

macOS

Terminal/IDE

iTerm2

Shell

zsh

Additional context

No response

主要語言
沒有語言資料
星號
4k
分支
350
PR 合併指標
30 天內沒有已合併 PR

貢獻指南

這個儲存庫沒有索引到貢獻指南

從這裡開始

  1. 先讀完整個 Issue,再讀專案的貢獻指南。
  2. 在 Issue 下留言說明你要接手 —— 這能避免兩個人做同樣的事。
  3. Fork 儲存庫,在一個分支上完成修改。
  4. 送出 Pull Request,並在描述裡引用這個 Issue 編號。

CommandCodeAI/command-code 的其他 Issue

查看 CommandCodeAI/command-code 的全部 Issue

相似的 Issue

更多 CLI Issue

把新 issue 寄到你的電子郵件信箱

精選適合新手參與的 GitHub issue 摘要。