mv .devcontainer to res/ to avoid annoyinf vsc popup

This commit is contained in:
rustdesk
2023-05-28 21:10:51 +08:00
parent c07ef116b7
commit 7739946177
4 changed files with 0 additions and 0 deletions

23
res/.devcontainer/setup.sh Executable file
View File

@@ -0,0 +1,23 @@
#!/bin/bash
set -e
case $1 in
android)
# install deps
cd $WORKDIR/flutter
flutter pub get
wget https://github.com/rustdesk/doc.rustdesk.com/releases/download/console/so.tar.gz
tar xzf so.tar.gz
rm so.tar.gz
sudo chown -R $(whoami) $ANDROID_HOME
echo "Setup is Done."
;;
linux)
echo "Linux Setup"
;;
key)
echo -e "\n$HOME/upload-keystore.jks is not created.\nLet's create it.\nRemember the password you enter in keytool!"
keytool -genkey -v -keystore $HOME/upload-keystore.jks -keyalg RSA -keysize 2048 -validity 10000 -alias upload
;;
esac