Skip to content

Robustify Installation Script and Release Process#14

Merged
Mitriyweb merged 1 commit into
mainfrom
fix-installation-script-6070339308522372349
Feb 23, 2026
Merged

Robustify Installation Script and Release Process#14
Mitriyweb merged 1 commit into
mainfrom
fix-installation-script-6070339308522372349

Conversation

@Mitriyweb

Copy link
Copy Markdown
Owner

This PR fixes the issue where the ChaseAI installation script failed due to downloading corrupted or incorrect release assets.

Key changes:

  1. Robust Installation: install.sh now uses curl -f to fail on 404s, checks download sizes, and implements reliable fallback logic between tarball and DMG formats.
  2. Proper Packaging: Fixed a bug where the DMG creation script was actually creating a tarball. It now uses hdiutil on macOS to create legitimate DMG files.
  3. Streamlined Release: The release script now produces and uploads both .dmg and .tar.gz assets, along with a unified checksums.sha256 file for verification.
  4. Improved UX: Added automatic removal of macOS quarantine attributes after installation to simplify the first-run experience.
  5. Verified: All changes were verified with local tests, linting, and manual script inspection. System dependencies for Linux compilation were also addressed for CI stability.

PR created automatically by Jules for task 6070339308522372349 started by @Mitriyweb

- Improved `scripts/install.sh` with better error handling, 404 detection, and file verification.
- Updated `scripts/macos/create-dmg.sh` to properly create DMG files using `hdiutil`.
- Standardized `scripts/macos/create-archive.sh` for tarball creation.
- Modified `scripts/publish-release.sh` to build and upload both DMG and tarball assets with unified checksums.
- Updated `package.json` scripts to reflect the new installer build process.
- Ensured cross-platform compatibility and added post-installation attribute cleanup on macOS.

Co-authored-by: google-labs-jules[bot] <161369871+google-labs-jules[bot]@users.noreply.github.com>
@google-labs-jules

Copy link
Copy Markdown
Contributor

👋 Jules, reporting for duty! I'm here to lend a hand with this pull request.

When you start a review, I'll add a 👀 emoji to each comment to let you know I've read it. I'll focus on feedback directed at me and will do my best to stay out of conversations between you and other bots or reviewers to keep the noise down.

I'll push a commit with your requested changes shortly after. Please note there might be a delay between these steps, but rest assured I'm on the job!

For more direct control, you can switch me to Reactive Mode. When this mode is on, I will only act on comments where you specifically mention me with @jules. You can find this option in the Pull Request section of your global Jules UI settings. You can always switch back!

New to Jules? Learn more at jules.google/docs.


For security, I will only act on instructions from the user who triggered this task.

@Mitriyweb
Mitriyweb merged commit e9b7d97 into main Feb 23, 2026
2 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant