batipanel 0.4.44 → 0.4.45
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/VERSION +1 -1
- package/package.json +1 -1
- package/scripts/install/fonts.sh +9 -0
- package/scripts/install/tools.sh +2 -3
package/VERSION
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
0.4.
|
|
1
|
+
0.4.45
|
package/package.json
CHANGED
package/scripts/install/fonts.sh
CHANGED
|
@@ -32,6 +32,15 @@ _install_nerd_font_linux() {
|
|
|
32
32
|
setup_fonts_and_terminal() {
|
|
33
33
|
if [ "$OS" = "Linux" ]; then
|
|
34
34
|
_install_nerd_font_linux
|
|
35
|
+
# WSL: fonts installed to Linux but Windows Terminal uses Windows fonts
|
|
36
|
+
if grep -qi microsoft /proc/version 2>/dev/null; then
|
|
37
|
+
echo ""
|
|
38
|
+
echo " WSL detected — fonts are installed in Linux, but Windows Terminal"
|
|
39
|
+
echo " uses Windows fonts. To see powerline glyphs correctly:"
|
|
40
|
+
echo " 1. Download MesloLGS NF from: https://github.com/ryanoasis/nerd-fonts/releases"
|
|
41
|
+
echo " 2. Install the .ttf files on Windows (right-click → Install)"
|
|
42
|
+
echo " 3. Set font in Windows Terminal: Settings → Profiles → Font face → MesloLGS Nerd Font"
|
|
43
|
+
fi
|
|
35
44
|
fi
|
|
36
45
|
|
|
37
46
|
if [ "$OS" = "Darwin" ]; then
|
package/scripts/install/tools.sh
CHANGED
|
@@ -34,11 +34,10 @@ install_required_tools() {
|
|
|
34
34
|
echo ""
|
|
35
35
|
echo " Homebrew is required on macOS for installing tools (tmux, etc.)"
|
|
36
36
|
if [ -n "${npm_lifecycle_event:-}" ]; then
|
|
37
|
-
# npm/npx: can't install brew (needs sudo password)
|
|
37
|
+
# npm/npx: can't install brew (needs sudo password interactively)
|
|
38
38
|
echo ""
|
|
39
|
-
echo "
|
|
39
|
+
echo " Use this instead:"
|
|
40
40
|
echo ""
|
|
41
|
-
echo " /bin/bash -c \"\$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/HEAD/install.sh)\""
|
|
42
41
|
echo " curl -fsSL batipanel.com/install.sh | bash"
|
|
43
42
|
echo ""
|
|
44
43
|
exit 1
|