Bring projects, wikis, and teams together with AI. AppFlowy is the AI collaborative workspace where you achieve more without losing control of your data. The leading open source Notion alternative.
Dart blogconfluence-alternativecontent-managementcontent-servicesdocumentationflutternote-takingnotion-alternativeproject-managementtask-managementteam-collaborationwiki
fix: fixed colors when asking to install Rust
MikeWallaceDevf30f2485c686
diff --git a/frontend/scripts/install_dev_env/install_linux.sh b/frontend/scripts/install_dev_env/install_linux.shindex 0446655c02..405c8b85c5 100755--- a/frontend/scripts/install_dev_env/install_linux.sh+++ b/frontend/scripts/install_dev_env/install_linux.sh@@ -1,16 +1,17 @@#!/bin/bashBLUE="\e[34m"+GREEN="\e[32m"RED="\e[31m"ENDCOLOR="\e[0m"# Note: This script does not install applications which are installed by the package manager. There are too many package managers out there.-# Install rust on Linux+# Install Rustecho -e "${BLUE}AppFlowy : The Rust programming language is required to compile AppFlowy.${ENDCOLOR}"echo -e "${BLUE}AppFlowy : We can install it now if you don't already have it on your system.${ENDCOLOR}"-read -p "${BLUE}AppFlowy : Do you want to install Rust? [y/N]${ENDCOLOR} " installrust+read -p "$(echo -e $GREEN"AppFlowy : Do you want to install Rust? [y/N]"$ENDCOLOR) " installrustif [ ${installrust^^} == "Y" ]; thenecho -e "${BLUE}AppFlowy : Installing Rust.${ENDCOLOR}"diff --git a/frontend/scripts/install_dev_env/install_macos.sh b/frontend/scripts/install_dev_env/install_macos.shindex a4f325094e..8fc25f9227 100755--- a/frontend/scripts/install_dev_env/install_macos.sh+++ b/frontend/scripts/install_dev_env/install_macos.sh@@ -1,14 +1,15 @@#!/bin/bashBLUE="\e[34m"+GREEN="\e[32m"RED="\e[31m"ENDCOLOR="\e[0m"-# Install rust on Linux+# Install Rustecho -e "${BLUE}AppFlowy : The Rust programming language is required to compile AppFlowy.${ENDCOLOR}"echo -e "${BLUE}AppFlowy : We can install it now if you don't already have it on your system.${ENDCOLOR}"-read -p "${BLUE}AppFlowy : Do you want to install Rust? [y/N]${ENDCOLOR} " installrust+read -p "$(echo -e $GREEN"AppFlowy : Do you want to install Rust? [y/N]"$ENDCOLOR) " installrustif [ ${installrust^^} == "Y" ]; thenecho -e "${BLUE}AppFlowy : Installing Rust.${ENDCOLOR}"