mirror of
https://gitlab.com/veilid/veilid.git
synced 2024-12-25 15:29:32 -05:00
minor setup fix for linux
This commit is contained in:
parent
14cd561e09
commit
3625225014
@ -3,7 +3,7 @@ SCRIPTDIR="$( cd "$( dirname "${BASH_SOURCE[0]}" )" >/dev/null 2>&1 && pwd )"
|
|||||||
|
|
||||||
OS="unknown"
|
OS="unknown"
|
||||||
if [ "$(uname)" == "Linux" ]; then
|
if [ "$(uname)" == "Linux" ]; then
|
||||||
if [ ! "$(grep -Ei 'debian|buntu|mint' /etc/*release)" ]; then
|
if [ ! "$(lsb_release -a | grep -Ei 'debian|buntu|mint')" ]; then
|
||||||
echo Not a supported Linux
|
echo Not a supported Linux
|
||||||
exit 1
|
exit 1
|
||||||
fi
|
fi
|
||||||
@ -40,6 +40,10 @@ else
|
|||||||
exit 1
|
exit 1
|
||||||
fi
|
fi
|
||||||
|
|
||||||
|
# turn off analytics
|
||||||
|
flutter config --no-analytics
|
||||||
|
dart --disable-analytics
|
||||||
|
|
||||||
# # install cargo cbindgen
|
# # install cargo cbindgen
|
||||||
# cargo install cbindgen
|
# cargo install cbindgen
|
||||||
|
|
||||||
@ -75,9 +79,5 @@ elif [ "$OS" == "macos" ]; then
|
|||||||
flutter config --enable-macos-desktop --enable-ios --enable-android
|
flutter config --enable-macos-desktop --enable-ios --enable-android
|
||||||
fi
|
fi
|
||||||
|
|
||||||
# turn off analytics
|
|
||||||
flutter config --no-analytics
|
|
||||||
dart --disable-analytics
|
|
||||||
|
|
||||||
# run flutter doctor
|
# run flutter doctor
|
||||||
flutter doctor -v
|
flutter doctor -v
|
||||||
|
Loading…
Reference in New Issue
Block a user