Conversation
- Add install.sh for one-line installation via curl - Auto-detects architecture (arm64/x64) - Downloads latest release from GitHub - Removes quarantine attribute automatically - Update README with new installation instructions Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
Add check to quit running app before installation to prevent unexpected behavior or crashes during upgrade. Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
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.
Summary
install.sh) を追加Usage
curl -fsSL https://raw.githubusercontent.com/resila-inc/dev-proxy/main/install.sh | bashTest plan
🤖 Generated with Claude Code
Greptile Summary
Bashインストーラースクリプト (
install.sh) を追加し、GitHubの最新リリースから自動的にDMGをダウンロード・インストールする機能を実装しました。主な変更点:
実装は全体的に堅実で、基本的なエラーハンドリングとクリーンアップ処理が含まれています。
Confidence Score: 4/5
Important Files Changed
Sequence Diagram
sequenceDiagram participant User participant InstallScript as install.sh participant GitHub as GitHub API participant FileSystem as ファイルシステム User->>InstallScript: curl | bash で実行 InstallScript->>InstallScript: macOS チェック InstallScript->>InstallScript: アーキテクチャ検出 (arm64/x64) InstallScript->>GitHub: 最新リリース情報を取得 GitHub-->>InstallScript: リリースデータ (tag, download URL) InstallScript->>InstallScript: DMG URLを抽出 InstallScript->>FileSystem: 一時ディレクトリ作成 InstallScript->>GitHub: DMGをダウンロード GitHub-->>InstallScript: DMGファイル InstallScript->>FileSystem: DMGをマウント InstallScript->>FileSystem: 既存アプリを削除(存在する場合) InstallScript->>FileSystem: アプリを /Applications にコピー InstallScript->>FileSystem: DMGをアンマウント InstallScript->>FileSystem: quarantine属性を削除 InstallScript->>FileSystem: 一時ファイルをクリーンアップ InstallScript-->>User: インストール完了メッセージ