Skip to content

Commit 87e273f

Browse files
committed
feat: setup terminal after pico init
1 parent e0e8c14 commit 87e273f

File tree

1 file changed

+8
-0
lines changed

1 file changed

+8
-0
lines changed

core/pico.go

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -11,6 +11,8 @@ package core
1111
*/
1212

1313
import (
14+
"os/exec"
15+
1416
"github.com/vanilla-os/apx/v3/core"
1517
)
1618

@@ -47,6 +49,12 @@ func PicoInit() error {
4749
}
4850

4951
err = subsystem.Create()
52+
if err != nil {
53+
return err
54+
}
55+
56+
terminal_setup_cmd := exec.Command("setup-vso-terminal", "--non-interactive")
57+
err = terminal_setup_cmd.Run()
5058
return err
5159
}
5260

0 commit comments

Comments
 (0)