-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy pathinstall.sh
More file actions
executable file
·18 lines (13 loc) · 823 Bytes
/
install.sh
File metadata and controls
executable file
·18 lines (13 loc) · 823 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
#!/bin/bash
mkdir -p "$HOME/.local/share/icons/hicolor/scalable/apps/"
mkdir -p "$HOME/.local/share/applications/"
mkdir -p "$HOME/bin/"
cp bin/AndroidStudioOnDocker.sh "$HOME/bin/"
ln -sf "$HOME/.onDocker/AndroidStudio/android-studio/bin/studio.svg" "$HOME/.local/share/icons/hicolor/scalable/apps/studio-docker.svg"
cp bin/android-studio-on-docker.desktop "$HOME/.local/share/applications/"
echo "Root access must be granted in order to install udev rules and scripts to allow usb access"
sudo cp bin/51-android.rules /etc/udev/rules.d/
sudo cp bin/android-studio-on-docker-udev.sh /usr/local/bin/
"$HOME/bin/AndroidStudioOnDocker.sh" echo "Android Studio on Docker installed."
echo "Make sure that $HOME/bin is in your PATH at .bashrc or similar."
echo "Application icon may require to logout to show up properly."