Skip to content

Commit 4c46d36

Browse files
l1shenBlackHole1
andauthored
fix(scripts): activate terminal after start command (#981)
Co-authored-by: Black-Hole <158blackhole@gmail.com>
1 parent ee33fee commit 4c46d36

File tree

2 files changed

+2
-0
lines changed

2 files changed

+2
-0
lines changed

scripts/launch/mac/launch_iTerm.scpt

+1
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,5 @@
11
tell application "iTerm"
2+
activate
23
set W to create window with default profile
34
tell W's current session
45
split vertically with default profile

scripts/launch/mac/launch_terminal.scpt

+1
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,5 @@
11
tell application "Terminal"
2+
activate
23
set ProjectRoot to "$(dirname $(dirname $(dirname $(dirname " & (POSIX path of (path to me)) & "))))"
34
do script "yarn --cwd \"" & ProjectRoot & "/desktop/renderer-app\" start"
45
do script "yarn --cwd \"" & ProjectRoot & "/desktop/main-app\" start"

0 commit comments

Comments
 (0)