Commit graph

58 commits

Author SHA1 Message Date
Peter Steinberger
9c81ed9969 Fix unbound variable error in node-path-setup.sh
The script was failing with "VIBETUNNEL_BUILD_CLEAN_ENV: unbound variable"
when running under strict bash error checking (set -u). Fixed by using
parameter expansion with default value ${VAR:-} to handle cases where
the variable is not set.
2025-07-08 10:10:42 +01:00
Peter Steinberger
6b93fdbf41
Fix Homebrew library dependencies in release builds (#269) 2025-07-08 09:55:52 +01:00
Peter Steinberger
35cb3c3b3c Fix generate-appcast.sh to correctly parse repository name from git remote URL
- Strip .git suffix from repository name when parsing git remote URL
- This fixes the issue where gh api calls were failing with 404
2025-07-08 02:41:58 +01:00
Peter Steinberger
8c2fcc7488 Improve release process and fix configuration issues
- Add proper --dry-run support to release.sh that prevents file modifications
- Fix iOS Info.plist to use $(MARKETING_VERSION) and $(CURRENT_PROJECT_VERSION)
- Update CHANGELOG.md lookup to prefer project root location
- Add comprehensive RELEASE_PROCESS.md documentation
- Improve error messages and parameter validation in release script
- Fix confusing warnings about CHANGELOG.md location

These changes make the release process more robust and less error-prone.
2025-07-08 02:08:23 +01:00
Peter Steinberger
53b4aff571 Fix build warnings
- Fix 'variable was never mutated' warning in ScreencapService.swift
- Fix fnm env command syntax error in node-path-setup.sh
- Remove incorrect --use-on-cd flag usage

The duplicate rpath warning remains (needs Xcode project fix)
2025-07-08 01:16:42 +01:00
Peter Steinberger
1f1ca110dc Preserve Swift package resolution in build.sh
- Use Xcode's default derived data path by default
- Only use custom derived data in CI or when explicitly requested
- Prevents Swift packages from being re-resolved after each build
- No more need to close/reopen Xcode after building

Set USE_CUSTOM_DERIVED_DATA=YES to use the old behavior
2025-07-08 01:13:54 +01:00
Raghav Sethi
48ea8898fa
fix: resolve Xcode Node.js detection issues with fnm/homebrew conflicts (#246) (#253) 2025-07-08 00:44:05 +01:00
Peter Steinberger
85d9f3d17a
Unified control protocol and deferred screen recording permissions (#239) 2025-07-08 00:42:13 +01:00
Peter Steinberger
2f829215bc fix: correct SCRIPT_DIR detection for zsh compatibility in install-node.sh
The redundant SCRIPT_DIR assignment on line 20 used ${BASH_SOURCE[0]:-} which
would expand to an empty string in zsh, causing dirname "" to return the current
directory instead of the script's directory. This led to script failures when
not run from its own directory.

Since SCRIPT_DIR is already correctly set earlier (lines 11-15) with proper
zsh handling, the redundant line has been removed.
2025-07-06 03:38:47 +01:00
Tao Xu
c8389850a2
Merge branch 'main' into node-path-setup 2025-07-06 11:32:53 +09:00
hewigovens
89240a09a9
cleanup 2025-07-06 11:32:16 +09:00
Helmut Januschka
f3b2022d48
Integrate screencap functionality for remote screen sharing (#209)
Co-authored-by: Claude <noreply@anthropic.com>
Co-authored-by: Peter Steinberger <steipete@gmail.com>
2025-07-06 03:31:34 +01:00
hewigovens
826d8de4c1
refactor: consolidate Node.js path setup into shared script and add fnm support 2025-07-06 11:09:32 +09:00
Peter Steinberger
45d8f97a30
Improve release scripts and add git app integration (#208) 2025-07-03 12:40:09 +01:00
devin-ai-integration[bot]
1d9112b9d3
Add SwiftLint and SwiftFormat Husky pre-commit hooks for iOS and mac (#165)
Co-authored-by: Peter Steinberger <steipete@gmail.com>
Co-authored-by: Devin AI <158243242+devin-ai-integration[bot]@users.noreply.github.com>
2025-07-01 06:24:59 +01:00
Peter Steinberger
8bc6e81549
feat: add comprehensive terminal title management (#124) 2025-06-30 04:15:09 +01:00
Billy Irwin
aeaecf9882
fix: handle missing .node-builds directory in build script (#142)
Check if .node-builds directory exists before attempting to find Node.js builds
to prevent errors when the directory hasn't been created yet.

🤖 Generated with [Claude Code](https://claude.ai/code)

Co-authored-by: Claude <noreply@anthropic.com>
2025-06-29 18:02:43 -07:00
Chris Reynolds
13b98308c9
fix: remove double shell-wrapping for aliases in vt script (#132) 2025-06-29 21:52:52 +01:00
Peter Steinberger
7f3fbe164a
feat: Add build output filtering to remove non-actionable warnings (#136) 2025-06-29 19:36:40 +01:00
Peter Steinberger
c3ad47baa4 fish hashing 2025-06-25 05:14:16 +02:00
Peter Steinberger
d1ed650261 igore file mod dates, just size 2025-06-25 04:46:04 +02:00
Peter Steinberger
f766efad82 improve stability 2025-06-25 04:32:21 +02:00
Peter Steinberger
b59a3808d7 unfuck build 2025-06-25 03:36:20 +02:00
Peter Steinberger
6dfc1eb7f4 re-patching somehow corrupts my build 2025-06-25 02:11:51 +02:00
Peter Steinberger
33abf13431 brute force clean 2025-06-25 02:11:51 +02:00
Peter Steinberger
a507376596 Modify Xcode script to be reliable on recompiles 2025-06-25 02:11:51 +02:00
Peter Steinberger
dd83acc575 use tar to speed up hash calculation by 10x 2025-06-25 02:11:51 +02:00
Peter Steinberger
b22d8995dd
Add comprehensive server tests and switch to Biome linter (#73) 2025-06-24 18:51:38 +02:00
Peter Steinberger
45fd5c476e Fixes SPA build 2025-06-24 02:07:25 +02:00
Peter Steinberger
b363355543 recompile native authenticate_pam for custom node 2025-06-24 01:16:38 +02:00
Peter Steinberger
5f6fad840b CI should never build node 2025-06-23 05:51:23 +02:00
Peter Steinberger
83b586f6f6 Improve release scripts based on beta 3 lessons learned
- Always use --account VibeTunnel for Sparkle signing
- Add automatic DMG volume cleanup to prevent resource errors
- Better handling of CHANGELOG.md location (check both mac/ and root)
- Add comprehensive RELEASE-LESSONS.md with all gotchas
- Add signature verification step to release process
- Improve error messages and debugging output
- Pass SPARKLE_ACCOUNT environment variable through scripts
2025-06-23 04:57:35 +02:00
Peter Steinberger
78251f72d2 Update scripts to look for appcast files in project root, not mac directory 2025-06-23 04:45:29 +02:00
Peter Steinberger
bafe06119b Improve release scripts with better error handling and key detection 2025-06-23 04:40:49 +02:00
Peter Steinberger
acdadc71d3 Fix project path in preflight check script 2025-06-23 04:26:53 +02:00
Peter Steinberger
3bc0e4de08 Update scripts for VibeTunnel-Mac.xcodeproj rename and add Sparkle key to gitignore 2025-06-23 04:25:29 +02:00
Peter Steinberger
5a954377d6 fix build on macOS Tahoe 2025-06-23 01:30:36 +02:00
Peter Steinberger
fe5f4eaa23 Fix build script to handle missing hash file gracefully
- Change error to warning when hash file is not found
- Force full rebuild instead of failing when hash is missing
- This fixes build failures when the hash calculation phase hasn't run

🤖 Generated with [Claude Code](https://claude.ai/code)

Co-Authored-By: Claude <noreply@anthropic.com>
2025-06-23 01:03:51 +02:00
Peter Steinberger
15e18111af Improve server change detection 2025-06-23 00:18:37 +02:00
Peter Steinberger
932beff906 Work on custom node installer 2025-06-22 16:46:08 +02:00
Peter Steinberger
32436df59e Update CI and build scripts for project rename 2025-06-22 15:11:56 +02:00
Peter Steinberger
82b9d65d8f feat: Add Volta support to Node.js detection
- Add Volta path detection in build scripts
- Update install instructions to include Volta option
- Ensure both NVM and Volta users are supported
2025-06-22 11:53:15 +02:00
Peter Steinberger
180caf7e81 Add logic to use custom node compiler 2025-06-22 11:53:15 +02:00
Armin Ronacher
47eded4cb5 Add volta.sh support for node compilation 2025-06-22 10:29:36 +02:00
Peter Steinberger
324630ea17 speed up project build by comparing web hash 2025-06-22 07:16:52 +02:00
Mario Zechner
e912b65c9e Fix Node.js detection in build-bun-executable.sh for Xcode builds
Add common Node.js installation paths to PATH including Homebrew, NVM, n, and MacPorts locations. This matches the approach used in build-web-frontend.sh and ensures the script can find Node.js when running in Xcode's restricted environment.

🤖 Generated with [Claude Code](https://claude.ai/code)

Co-Authored-By: Claude <noreply@anthropic.com>
2025-06-22 04:04:52 +02:00
Peter Steinberger
0e0ae4a6a9 Simplify mac scripts 2025-06-22 01:13:30 +02:00
Mario Zechner
5d932d7c3d Fix Xcode build scripts for Bun -> SEA transition. 2025-06-21 21:37:41 +02:00
Peter Steinberger
5ee5cbb5ec Make scripts ugly but resilient 2025-06-21 18:08:00 +02:00
Mario Zechner
7c1023efe4 Fix web frontened build script for xcode step 2025-06-21 17:43:03 +02:00