Files
theos-jailed/bin/install.copyFile

7 lines
134 B
Bash
Executable File

#!/bin/bash
if [[ TARGET_INSTALL_REMOTE -eq 1 ]]; then
scp -P $THEOS_DEVICE_PORT "$1" root@$THEOS_DEVICE_IP:$2
else
cp "$1" "$2"
fi