File tree 3 files changed +28
-1
lines changed
3 files changed +28
-1
lines changed Original file line number Diff line number Diff line change @@ -12,6 +12,7 @@ CHOICES=(
12
12
" OBS Studio Record screencasts with inputs from both display + webcam"
13
13
" Ollama Run LLMs, like Meta's Llama3, locally"
14
14
" RubyMine IntelliJ's commercial Ruby editor"
15
+ " Scrcpy Android screen mirroring (requires dev mode / USB debug on!)"
15
16
" Spotify Stream music from the world's most popular service"
16
17
" Steam Play games from Valve's store"
17
18
" VirtualBox Virtual machines to run Windows/Linux"
@@ -21,7 +22,7 @@ CHOICES=(
21
22
" << Back "
22
23
)
23
24
24
- CHOICE=$( gum choose " ${CHOICES[@]} " --height 22 --header " Install application" )
25
+ CHOICE=$( gum choose " ${CHOICES[@]} " --height 23 --header " Install application" )
25
26
26
27
if [[ " $CHOICE " == " << Back" * ]] || [[ -z " $CHOICE " ]]; then
27
28
# Don't install anything
Original file line number Diff line number Diff line change
1
+ # Install dependencies
2
+ sudo apt install -y ffmpeg libsdl2-2.0-0 adb wget \
3
+ gcc git pkg-config meson ninja-build libsdl2-dev \
4
+ libavcodec-dev libavdevice-dev libavformat-dev libavutil-dev \
5
+ libswresample-dev libusb-1.0-0 libusb-1.0-0-dev
6
+
7
+ # Install latest Scrcpy straight from GitHub
8
+ cd /tmp
9
+ git clone https://github.com/Genymobile/scrcpy
10
+ cd scrcpy
11
+ ./install_release.sh
12
+ cd ..
13
+ rm -rf scrcpy
14
+
15
+ cat << EOF >~/.local/share/applications/Android.desktop
16
+ [Desktop Entry]
17
+ Version=1.0
18
+ Name=Android
19
+ Comment=Android Screen Mirroring
20
+ Exec=scrcpy -S
21
+ Terminal=false
22
+ Type=Application
23
+ Icon=/home/$USER /.local/share/omakub/applications/icons/Android.png
24
+ Categories=GTK;
25
+ StartupNotify=false
26
+ EOF
You can’t perform that action at this time.
0 commit comments