SCRCPY_PATH="/mnt/e/programs/scrcpy-win64-v2.7" if [ ! -d "$SCRCPY_PATH" ]; then echo "The program's path does not exist ($SCRCPY_PATH)." exit 1 fi $SCRCPY_PATH/scrcpy.exe --turn-screen-off --stay-awake --power-off-on-close # --max-size=1024