Cline Desktop v0.0.30Cline Desktop v0.0.30
匿名の公開いいねです。記事の保存・お気に入りではなく、Featured、Top 3、重要度、掲載順位には影響しません。仕組みとプライバシーAnonymous public likes are reactions, not saved articles or bookmarks. They do not affect Featured, Top 3, importance, or listing order.How it works and privacy
- Cline Desktop v0.0.30は、Windows Restart Managerでインストール先のファイルを使用中のプロセスを特定し、終了するようになりました。
- これにより、x64環境でv0.0.25〜v0.0.28から更新する際の書き込みエラーを防げます。
Cline Desktop v0.0.30 now uses Windows Restart Manager to close processes locking installation files, preventing write failures when x64 users upgrade from v0.0.25–v0.0.28.
本ページの本文と要約は AI による自動生成です。日本語版と英語版は言語ごとに独立して生成されるため、表現や詳しさが異なる場合があります。正確性は元記事 (github.com) をご確認ください。The body and summaries are AI-generated independently for each language, so wording and detail may differ. Verify accuracy at the original source (github.com).
要約と収集メタデータに基づく AI 解説。元記事全文の転載・翻訳ではありません。AI explainer based on the summaries and collected metadata, not a copy or translation of the full source article.
Windows更新
Cline Desktop v0.0.30では、Windowsで更新時に発生していた「Error opening file for writing」が解消された。特にx64環境でv0.0.25〜v0.0.28から更新する際、インストール先のファイルを使用中のプロセスを適切に終了できるよう修正されている。
WOW64の影響
従来のインストーラーフックは、実行中のバックエンドを停止する目的で組み込まれていたが、実際には対象プロセスを終了できていなかった。TauriのNSISインストーラーは32ビットであるため、PowerShellもWOW64上で動作する。この環境では、Get-Processが64ビットプロセスのパスを空として返すため、フィルターがx64マシン上のsidecarに一致しなかった。
その結果、切り離されて動作しているHubデーモンが実行ファイルを開いたまま、インストーラーがそのファイルを上書きしようとしていた。これが、v0.0.25〜v0.0.28からの更新がv0.0.24と同様に失敗していた理由と説明されている。
Restart Manager
v0.0.30のインストーラーは、Windows Restart Managerに対し、対象のインストール先ファイルを保持しているプロセスを問い合わせ、それらを終了する方式へ変更された。この方法はプロセスのビット数に依存せず、Hubが起動するconnectorプロセスも対象に含む。一方、並行して配置されたCline Betaには干渉しない。
RetryとCancel
Windows Restart Manager自体が処理に失敗した場合は、RetryまたはCancelを選択するプロンプトが表示される。これにより、プロセスを終了できないまま書き込みを進めるのではなく、再試行か中止を選べるようになった。
Windows updates
Cline Desktop v0.0.30 addresses a Windows update failure that produced the message “Error opening file for writing.” The change prevents write failures when users on x64 machines upgrade from versions 0.0.25 through 0.0.28.
The installer hook
The previous installer hook was intended to stop the running backend, but it did not terminate any processes. Tauri ships a 32-bit NSIS installer, so the installer’s PowerShell ran under WOW64.
In that environment, Get-Process reported an empty path for every 64-bit process. As a result, the hook’s filter did not match a sidecar process on any x64 machine.
The installer then attempted to overwrite an executable that the detached Hub daemon still held open. This caused updates from versions 0.0.25 through 0.0.28 to fail in the same way as updates from version 0.0.24.
Windows Restart Manager
Cline Desktop v0.0.30 changes how the installer identifies and closes processes that are using installation files. Instead of relying on the previous PowerShell process-path filter, the installer now asks Windows Restart Manager which processes hold files belonging to the installation.
The installer then shuts down those processes before writing the updated files. This approach is independent of process bitness, avoiding the WOW64 behavior that prevented the earlier hook from finding 64-bit processes.
Restart Manager also covers connector processes spawned by the Hub. At the same time, the process handling leaves a side-by-side Cline Beta installation alone.
Retry/Cancel prompt
If Windows Restart Manager itself fails, the installer displays a Retry/Cancel prompt. This gives the user an explicit choice rather than proceeding while installation files may still be locked.
ポコとTECHガイドPoko & TECH Guide
ポコと当サイトのTECHガイドが、記事の要約と収集した情報から読みどころを語るAI生成の対話です。Poko and TECH Dashboard's own TECH Guide discuss the article's highlights in an AI-generated conversation based on its summary and collected source details.
- ポコPokox64でv0.0.25〜v0.0.28から更新するとき、書き込みエラーを防げるようになったんだね。これって大きいこと?So updates from v0.0.25–v0.0.28 on x64 can now avoid that write error. Is that a big change?
- TECHガイドTECH Guideうん、更新を止めていた原因への直接的な修正だね。ファイルをつかんでいるプロセスを特定して終了するようになったよ。Yes, it directly addresses what was blocking those updates. The installer now finds and closes processes holding the installation files.
- ポコPokoWindows Restart Managerって、どんな仕組みなの?What does Windows Restart Manager actually do?
- TECHガイドTECH GuideWindowsで、ファイルを使用中のプロセスを調べる仕組みだよ。今回はインストール先を使っているプロセスの特定と終了に使っているんだ。It’s a Windows mechanism for finding processes using particular files. Here, it identifies and shuts down processes locking the installation files.
- ポコPokoぼくなら、x64で対象の旧版を使っていたら、v0.0.30への更新を試してみたいな。If I were on one of those older versions on x64, I’d want to try updating to v0.0.30.
- TECHガイドTECH Guide現実的だね。ただしRestart Manager自体が失敗するとRetry/Cancelが表示され、併設のCline Betaは終了されないよ。That’s reasonable. If Restart Manager itself fails, though, you’ll see Retry/Cancel, and a side-by-side Cline Beta will be left running.