buninu 0.1.5 → 0.1.6

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.
package/README.md CHANGED
@@ -28,10 +28,13 @@ and self-bootstrapping design.
28
28
 
29
29
  ## Differences from upstream
30
30
 
31
- - The bundled jsmdcui is configured editor-first by MDCUI_DEFAULT_EDIT, so starting it with a Markdown file opens the normal terminal editor.
32
- - The bundled jsmdcui adds a launcher script to restore its original behavior: `apps/jsmdcui/jsmdcui.sh`, which starts its `tui` entry point with `--mdcui`,
33
- and forwards all command-line arguments.
34
- - The bundled jsgotty package no longer depends on or ships `node-pty`. Its PTY is provided by Bun's terminal API.
31
+ ### The bundled jsmdcui
32
+ * Is configured editor-first by MDCUI_DEFAULT_EDIT
33
+ * The command `jmi` with a Markdown file opens the normal terminal editor.(js micro editor)
34
+ * The command `jsmdcui` preserves its original behavior: `apps/jsmdcui/jsmdcui.sh`, which starts its `tui` entry point with `--mdcui` when running markdown Apps, and forwards all command-line arguments.
35
+ ### The bundled jsgotty
36
+ * No longer depends on or ships `node-pty`.
37
+ * Its PTY is provided by Bun's terminal API.
35
38
 
36
39
  ## Install Bun
37
40
 
package/bin/init.js CHANGED
@@ -119,7 +119,7 @@ async function findCommand(command) {
119
119
 
120
120
  async function detectEnvironment() {
121
121
  const windows = process.platform === "win32" || Boolean(process.env.WINDIR);
122
- const termux = !windows && await pathExists("/data/data/com.termux");
122
+ const termux = !windows && await pathExists("/data/data/com.termux/files/usr/bin/bash");
123
123
  const android = !windows && !termux && (
124
124
  process.platform === "android" ||
125
125
  await pathExists("/system/bin/linker64") ||
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "buninu",
3
- "version": "0.1.5",
3
+ "version": "0.1.6",
4
4
  "description": "Buninu is a portable, self-bootstrapping Unix-like userspace built on Bun that runs across operating systems",
5
5
  "type": "module",
6
6
  "main": "./bin/init.js",