vibetunnel/mac/scripts
Peter Steinberger bc9f505026
Fix Ghostty terminal spawn issues with dynamic delays (#408)
* Fix Ghostty terminal spawn issues with dynamic delays

- Add isTerminalRunning() helper to check if terminal app is running
- Implement dynamic delays for Ghostty based on running state
  - 0.5s delay for warm start (already running)
  - 2.0s delay for cold start (needs to launch)
- Add window count checking to ensure UI is ready
- Fix issue where commands weren't executed when Ghostty had no windows

Fixes #371

* Fix CI: Skip Node.js check when using pre-built web artifacts

- Add SKIP_NODE_CHECK=true environment variable to Mac CI build step
- Prevents install-node.sh from failing when pnpm is not available
- CI downloads pre-built web artifacts, so Node.js/pnpm are not needed

* Fix CI: Properly handle pre-built web artifacts in Mac build

- Add early exit in build-web-frontend.sh when CI has pre-built artifacts
- Set CI=true environment variable in all Xcode build steps
- Update node-path-setup.sh to skip Node.js check in CI
- Copy pre-built artifacts directly without attempting rebuild
- This prevents pnpm dependency errors in CI environment

* Fix SwiftFormat modifier order issue

- Change 'static weak' to 'weak static' in AppDelegate
- SwiftFormat requires consistent modifier ordering

* Fix CI: Include native binaries in web artifacts

- Add web/native/ directory to uploaded artifacts
- Add web/bin/vt script to uploaded artifacts
- This ensures Mac tests can find the vibetunnel executable
- Fixes test failures due to missing server binary

* Fix CI: Copy native binaries from web artifacts in Mac CI

- Update artifact extraction to copy web/native/ directory
- Also copy web/bin/ directory for vt script
- Add debugging output to show native contents
- This ensures tests can find the vibetunnel executable
2025-07-18 17:24:30 +02:00
..
build-web-frontend.sh Fix Ghostty terminal spawn issues with dynamic delays (#408) 2025-07-18 17:24:30 +02:00
build.sh Synchronize repository base path from Mac app to web UI (#358) 2025-07-16 03:09:19 +02:00
calculate-web-hash.sh fish hashing 2025-06-25 05:14:16 +02:00
changelog-to-html.sh Improve release process and remove stray node folder 2025-07-17 02:34:59 +02:00
check-xcode-settings.sh Fix Homebrew library dependencies in release builds (#269) 2025-07-08 09:55:52 +01:00
clean.sh Add logic to use custom node compiler 2025-06-22 11:53:15 +02:00
codesign-app.sh Work on new session logic 2025-06-20 19:22:02 +02:00
common.sh Burn everything with fire that is not node or swift. 2025-06-21 14:39:44 +02:00
copy-bun-executable.sh Add comprehensive server tests and switch to Biome linter (#73) 2025-06-24 18:51:38 +02:00
create-dmg.sh Improve release scripts based on beta 3 lessons learned 2025-06-23 04:57:35 +02:00
create-zip.sh Burn everything with fire that is not node or swift. 2025-06-21 14:39:44 +02:00
download-bun-binaries.sh update build scripts 2025-06-21 16:11:34 +02:00
extract-build-number.sh refactor: major project restructuring - move macOS app to mac/ directory 2025-06-20 13:20:01 +02:00
find-changelog.sh Improve release process and remove stray node folder 2025-07-17 02:34:59 +02:00
fix-release-changelogs.sh Improve release process and remove stray node folder 2025-07-17 02:34:59 +02:00
generate-appcast.sh Improve release process and remove stray node folder 2025-07-17 02:34:59 +02:00
generate-release-notes.sh Improve release process and remove stray node folder 2025-07-17 02:34:59 +02:00
generate-xcproj.sh refactor: major project restructuring - move macOS app to mac/ directory 2025-06-20 13:20:01 +02:00
install-bun.sh Make scripts ugly but resilient 2025-06-21 18:08:00 +02:00
install-node.sh Fix Ghostty terminal spawn issues with dynamic delays (#408) 2025-07-18 17:24:30 +02:00
lint.sh Add SwiftLint and SwiftFormat Husky pre-commit hooks for iOS and mac (#165) 2025-07-01 06:24:59 +01:00
node-path-setup.sh Fix Ghostty terminal spawn issues with dynamic delays (#408) 2025-07-18 17:24:30 +02:00
normalize-release-titles.sh feat: normalize release titles to "VibeTunnel X.Y.Z Beta N" format 2025-07-15 19:41:49 +02:00
notarize-app.sh refactor: major project restructuring - move macOS app to mac/ directory 2025-06-20 13:20:01 +02:00
notarize-dmg.sh refactor: major project restructuring - move macOS app to mac/ directory 2025-06-20 13:20:01 +02:00
preflight-check.sh Add comprehensive server tests and switch to Biome linter (#73) 2025-06-24 18:51:38 +02:00
release-checklist.sh Improve release scripts based on beta 9 lessons learned 2025-07-11 11:29:49 +02:00
release-resume.sh Extract mobile detection to shared utility and reduce mobile font size (#310) 2025-07-11 10:24:06 +02:00
release-state.sh Improve release scripts based on beta 9 lessons learned 2025-07-11 11:29:49 +02:00
release.sh Improve release process and remove stray node folder 2025-07-17 02:34:59 +02:00
setup-bun-prebuilts.sh Fix Xcode build scripts for Bun -> SEA transition. 2025-06-21 21:37:41 +02:00
sign-and-notarize.sh refactor: major project restructuring - move macOS app to mac/ directory 2025-06-20 13:20:01 +02:00
test-vt-aliases.sh fix: remove double shell-wrapping for aliases in vt script (#132) 2025-06-29 21:52:52 +01:00
test-vt-integration.sh fix: remove double shell-wrapping for aliases in vt script (#132) 2025-06-29 21:52:52 +01:00
update-appcast.sh Improve release scripts and add git app integration (#208) 2025-07-03 12:40:09 +01:00
validate-sparkle-signature.sh Improve release scripts based on beta 9 lessons learned 2025-07-11 11:29:49 +02:00
verify-app.sh refactor: major project restructuring - move macOS app to mac/ directory 2025-06-20 13:20:01 +02:00
verify-appcast.sh Update scripts to look for appcast files in project root, not mac directory 2025-06-23 04:45:29 +02:00
version.sh refactor: major project restructuring - move macOS app to mac/ directory 2025-06-20 13:20:01 +02:00
vtlog.sh Integrate screencap functionality for remote screen sharing (#209) 2025-07-06 03:31:34 +01:00