Skip to content

Commit

Permalink
use licence
Browse files Browse the repository at this point in the history
Signed-off-by: hunnywar <[email protected]>
  • Loading branch information
hunnywar committed Dec 30, 2024
1 parent f9ec6d3 commit c77cd35
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 3 deletions.
3 changes: 2 additions & 1 deletion hack/get-ttyd.sh
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
#!/bin/bash
# Copyright 2024 Daytona Platforms Inc.
# SPDX-License-Identifier: Apache-2.0

RELEASE_TAG="1.7.7"
RELEASE_ORG="tsl0922"
Expand Down
4 changes: 2 additions & 2 deletions pkg/ide/browser-terminal.go
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ import (
log "github.com/sirupsen/logrus"
)

const startCommand = "$TTYD_ROOT/bin/ttyd --port 63777 --writable --cwd"
const startCommand = "$HOME/ttyd/bin/ttyd --port 63777 --writable --cwd"

func OpenBrowserTerminal(activeProfile config.Profile, workspaceId string, projectName string, gpgKey string) error {
// Make sure SSH config exists
Expand All @@ -33,7 +33,7 @@ func OpenBrowserTerminal(activeProfile config.Profile, workspaceId string, proje
projectHostname := config.GetProjectHostname(activeProfile.Id, workspaceId, projectName)

// Download and start ttyd
installServerCommand := exec.Command("ssh", projectHostname, "curl -fsSL https://download.daytona.io/daytona/get-ttyd.sh | sh")
installServerCommand := exec.Command("ssh", projectHostname, "curl -fsSL https://raw.githubusercontent.com/hunnywar/daytona/f9ec6d34bf5c8b4b405cb4979483b066d922cf55/hack/get-ttyd.sh | sh")
installServerCommand.Stdout = io.Writer(&util.DebugLogWriter{})
installServerCommand.Stderr = io.Writer(&util.DebugLogWriter{})

Expand Down

0 comments on commit c77cd35

Please sign in to comment.