buninu 0.1.4 → 0.1.5
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/CHANGELOG.md +12 -0
- package/apps/jsmdcui/jsmdcui.sh +1 -1
- package/bin/init.js +1 -1
- package/bin/jsmdcui.bat +1 -0
- package/package.json +1 -1
package/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,17 @@
|
|
|
1
1
|
# Changelog
|
|
2
2
|
|
|
3
|
+
## 0.1.5 - 2026-08-16
|
|
4
|
+
|
|
5
|
+
### Fixed
|
|
6
|
+
|
|
7
|
+
- Enable jsmdcui's mdcui encoding for `--cdp-maze`, which selects the bundled
|
|
8
|
+
Markdown maze without passing a `.md` filename or a `--demo*` argument.
|
|
9
|
+
|
|
10
|
+
### Changed
|
|
11
|
+
|
|
12
|
+
- Prefer PowerShell (`pwsh.exe`, then `powershell.exe`) as the default Windows
|
|
13
|
+
shell, falling back to `%COMSPEC%` or `cmd.exe` when PowerShell is unavailable.
|
|
14
|
+
|
|
3
15
|
## 0.1.4 - 2026-08-16
|
|
4
16
|
|
|
5
17
|
### Changed
|
package/apps/jsmdcui/jsmdcui.sh
CHANGED
package/bin/init.js
CHANGED
|
@@ -130,9 +130,9 @@ async function detectEnvironment() {
|
|
|
130
130
|
return {
|
|
131
131
|
name: "windows",
|
|
132
132
|
shell:
|
|
133
|
-
await findCommand(process.env.COMSPEC) ||
|
|
134
133
|
Bun.which("pwsh.exe") ||
|
|
135
134
|
Bun.which("powershell.exe") ||
|
|
135
|
+
await findCommand(process.env.COMSPEC) ||
|
|
136
136
|
Bun.which("cmd.exe") ||
|
|
137
137
|
"cmd.exe",
|
|
138
138
|
};
|
package/bin/jsmdcui.bat
CHANGED
|
@@ -5,6 +5,7 @@ for %%A in (%*) do (
|
|
|
5
5
|
set "JSMDCUI_ARGUMENT=%%~A"
|
|
6
6
|
if /I "%%~xA"==".md" set "JSMDCUI_ENCODING=--mdcui"
|
|
7
7
|
if /I "!JSMDCUI_ARGUMENT:~0,6!"=="--demo" set "JSMDCUI_ENCODING=--mdcui"
|
|
8
|
+
if /I "!JSMDCUI_ARGUMENT!"=="--cdp-maze" set "JSMDCUI_ENCODING=--mdcui"
|
|
8
9
|
)
|
|
9
10
|
call "%~dp0bun.bat" "%~dp0..\apps\jsmdcui\src\index.js" %JSMDCUI_ENCODING% %*
|
|
10
11
|
exit /b %ERRORLEVEL%
|
package/package.json
CHANGED