File tree Expand file tree Collapse file tree 2 files changed +9
-10
lines changed
Expand file tree Collapse file tree 2 files changed +9
-10
lines changed Original file line number Diff line number Diff line change 11#! /bin/bash
2-
32LOCATION=$( dirname " $0 " )
43source " $LOCATION " /../common_tools
54
@@ -8,6 +7,8 @@ trap 'ctrlc "$@"' 1 2 3 6 15
87
98USE_LEGACY_RECORDING=false
109
10+ check_dependency " scrcpy"
11+
1112ctrlc () {
1213 adb -s " $SELECTED_DEVICE " shell settings put system show_touches 0
1314
@@ -64,7 +65,7 @@ OUTPUT_PATH=~/Desktop/"$FILENAME".mp4
6465if $USE_LEGACY_RECORDING ; then
6566 adb -s " $SELECTED_DEVICE " shell screenrecord " $DEVICE_FILE_PATH " /output.mp4
6667else
67- scrcpy -s " $SELECTED_DEVICE " --verbosity=error --no-playback --audio-codec=aac --record=file.mp4 --record=" $OUTPUT_PATH "
68+ scrcpy -s " $SELECTED_DEVICE " --verbosity=error --no-playback --audio-codec=aac --record=file.mp4 --record=" $OUTPUT_PATH " & > /dev/null
6869fi
6970
7071# Unset the trap
Original file line number Diff line number Diff line change 1- 🎉 This is a new minor version 1.3.1 !
1+ 🎉 This is a new version 1.4.0 !
22
3- 🔎 README.md was updated with table of contents and better formatting
4- github.com/IntergalacticPenguin/mobile-toolkit
3+ 📹 arecord was updated to use scrcpy, this enables recording audio in your videos
4+ You can still use the legacy variant by adding -l flag to arecord command
55
6- ⭐️ Be among the first to check out my new project!
7- igpenguin.github.io/nomo
8-
9- 🔥 Stay tuned for new iOS commands or switch to
10- github.com/danielpaulus/go-ios
6+ ⭐️ Special thanks to Luís Pinho for proposing and drafting this change
7+ https://github.com/luispinho
8+
You can’t perform that action at this time.
0 commit comments