From 98bc72700b6a87cb2f9c7c337dd98d9cc42f06a7 Mon Sep 17 00:00:00 2001 From: Carl Roman Hultay <144816337+crhultay@users.noreply.github.com> Date: Sun, 24 Nov 2024 21:21:40 -0500 Subject: [PATCH] Convert to mise-en-place --- misc/install.sh | 9 ++++++++- 1 file changed, 8 insertions(+), 1 deletion(-) diff --git a/misc/install.sh b/misc/install.sh index 4fa5219c..12974588 100755 --- a/misc/install.sh +++ b/misc/install.sh @@ -93,7 +93,6 @@ enigma_install_init() { install_mise_en_place() { curl https://mise.run | sh - echo 'eval "$(~/.local/bin/mise activate bash)"' >> ~/.bashrc eval ~/.local/bin/mise activate bash } @@ -131,6 +130,14 @@ is_arch_arm() { fi } +extra_npm_install_args() { + if is_arch_arm ; then + echo "--build-from-source" + else + echo "" + fi +} + install_node_packages() { log "Installing required Node packages..." log "Note that on some systems such as RPi, this can take a VERY long time. Be patient!"