betterterm 1.0.0 → 1.0.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (2) hide show
  1. package/bin/cli.js +16 -0
  2. package/package.json +1 -1
package/bin/cli.js CHANGED
@@ -71,6 +71,22 @@ log("Homebrew found");
71
71
 
72
72
  heading("Installing dependencies...");
73
73
 
74
+ // Ghostty (cask)
75
+ if (run("brew list --cask ghostty")) {
76
+ log("ghostty already installed");
77
+ } else {
78
+ console.log(" Installing Ghostty...");
79
+ const result = spawnSync("brew", ["install", "--cask", "ghostty"], {
80
+ stdio: "inherit",
81
+ });
82
+ if (result.status !== 0) {
83
+ warn("Ghostty installation failed — install manually: https://ghostty.org");
84
+ } else {
85
+ log("ghostty installed");
86
+ }
87
+ }
88
+
89
+ // CLI tools
74
90
  const brewDeps = ["tmux", "yazi"];
75
91
  for (const dep of brewDeps) {
76
92
  if (which(dep)) {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "betterterm",
3
- "version": "1.0.0",
3
+ "version": "1.0.1",
4
4
  "description": "Terminal IDE setup: Ghostty + tmux + yazi + carbonyl browser",
5
5
  "bin": {
6
6
  "betterterm": "bin/cli.js"