Repository navigation
Conversation
… executable On Windows the app runs from the release directory, so a running instance locks the executable the build replaces and electron-builder fails (observed on a real Windows host: update.ps1 over a running install). The app owns no herdr session — panes, agents and workspaces live in herdr — so stopping it before the build is safe.
|
Warning Review limit reachedYou've used all free OSS reviews for now. Wait for the free limit to reset to keep reviewing this public repository. Next included review available in 43 minutes. View limit details
Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out. |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
目的
#265。v0.8.0 の Windows 受入脚 (実機 device-windows) で、稼働中の app を结束后に更新すると build が失敗することを発見した。
症状
Windows では app が release dir 内の exe から動作するため、稼働中は build が置き換える exe がロックされ electron-builder が失敗する。
macOS は
~/Applicationsへ copy して起動するため該当しない (POSIX 側は既に app を停止してから差し替える)。修正
build の前に管理下の app (
hoxay/herdr-t3) を停止する。close を要求し、猶予 (5 秒) 後に force stop。app は herdr の session / pane / agent を所有しないので、停止しても作業内容は失われない。別製品の process には触れない。検証
境界