This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/bash | |
# 1. Connect the phone using a USB cable. | |
# 2. Restart adb listening on TCP on 5555 port. | |
adb tcpip 5555 | |
# 3. Sleep for 1 second (not too clean but that's the simplest way to make sure that the previous command finished). | |
sleep 1 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/usr/bin/env bash | |
PATH_TO_FILE=$1 | |
FILE_NAME=$2 | |
#Needs two argument: a path to file and filename where changelog will be printed into. | |
if [ "$#" -lt 2 ]; then | |
echo 'Correct usage: ./script PATH_WHERE_CREATE_FILE FILENAME' | |
exit 1 | |
fi |