switch to hybrid

This commit is contained in:
aptalca
2022-07-30 16:41:15 -04:00
parent 97d4ed43d6
commit ad7104c5ed
13 changed files with 31 additions and 5 deletions
@@ -0,0 +1,6 @@
#!/usr/bin/with-contenv bash
if ! which unzip >/dev/null; then
echo "**** Adding flutter dependency packages to install list ****"
echo "unzip" >> /mod-repo-packages-to-install.list
fi
@@ -0,0 +1 @@
oneshot
@@ -0,0 +1 @@
/etc/s6-overlay/s6-rc.d/init-mod-code-server-flutter-add-package/run
@@ -0,0 +1,12 @@
#!/usr/bin/with-contenv bash
if [ ! -f "/flutter/bin/flutter" ]; then
echo "**** Installing Flutter ****"
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
@@ -0,0 +1 @@
oneshot
@@ -0,0 +1 @@
/etc/s6-overlay/s6-rc.d/init-mod-code-server-flutter-install/run