mirror of
https://github.com/samsonjs/vibetunnel.git
synced 2026-04-25 14:57:37 +00:00
Fix build issues for release
- Fix duplicate tty-fwd file error by removing copy from build.sh - Add VibeTunnel/Resources/tty-fwd to .gitignore - Fix SparkleUpdaterManager compilation error
This commit is contained in:
parent
97da1f6a90
commit
648286a63c
3 changed files with 8 additions and 8 deletions
1
.gitignore
vendored
1
.gitignore
vendored
|
|
@ -84,3 +84,4 @@ web/dist/**/*.js
|
|||
web/dist/**/*.js.map
|
||||
web/public/**/*.js
|
||||
web/public/**/*.js.map
|
||||
VibeTunnel/Resources/tty-fwd
|
||||
|
|
|
|||
|
|
@ -65,10 +65,12 @@ public final class SparkleUpdaterManager: NSObject, SPUUpdaterDelegate {
|
|||
logger.info("Sparkle updater initialized successfully with automatic downloads enabled")
|
||||
|
||||
// Start the updater
|
||||
do {
|
||||
try controller.updater.start()
|
||||
} catch {
|
||||
logger.error("Failed to start Sparkle updater: \(error)")
|
||||
if let controller = updaterController {
|
||||
do {
|
||||
try controller.updater.start()
|
||||
} catch {
|
||||
logger.error("Failed to start Sparkle updater: \(error)")
|
||||
}
|
||||
}
|
||||
#endif
|
||||
|
||||
|
|
|
|||
|
|
@ -81,10 +81,7 @@ if [[ -x "$PROJECT_DIR/tty-fwd/build-universal.sh" ]]; then
|
|||
# Verify the binary was built
|
||||
if [[ -f "$PROJECT_DIR/tty-fwd/target/release/tty-fwd-universal" ]]; then
|
||||
echo "✓ tty-fwd universal binary built successfully"
|
||||
# Copy to Resources folder for inclusion in app bundle
|
||||
cp "$PROJECT_DIR/tty-fwd/target/release/tty-fwd-universal" "$PROJECT_DIR/VibeTunnel/Resources/tty-fwd"
|
||||
chmod +x "$PROJECT_DIR/VibeTunnel/Resources/tty-fwd"
|
||||
echo "✓ Copied tty-fwd universal binary to Resources folder"
|
||||
# Note: The Xcode build phase will copy this to the app bundle
|
||||
else
|
||||
echo "Error: Failed to build tty-fwd universal binary"
|
||||
exit 1
|
||||
|
|
|
|||
Loading…
Reference in a new issue