code-server-flutter update/add workflows

This commit is contained in:
aptalca
2023-04-18 10:23:05 -04:00
parent 44a555b9c7
commit 0c0f726e01
6 changed files with 60 additions and 68 deletions
-3
View File
@@ -1,3 +0,0 @@
#!/usr/bin/with-contenv bash
apt-get update
-16
View File
@@ -1,16 +0,0 @@
#!/usr/bin/with-contenv bash
ARCH=$(uname -m)
if [ ! -f "/flutter/bin/flutter" ]; then
echo "Installing Flutter"
apt-get install -y \
unzip
git clone https://github.com/flutter/flutter.git -b beta --depth 1 /flutter
ln -s /flutter/bin/flutter /usr/bin/flutter
flutter doctor
flutter config --enable-web
flutter config --no-analytics
else
echo "Flutter already installed, skipping"
fi