Makefile + Droidcam
This commit is contained in:
parent
fed75142f1
commit
2c37621542
14
Makefile
Normal file
14
Makefile
Normal file
@ -0,0 +1,14 @@
|
||||
## droidcam: Install droidcam
|
||||
droidcam:
|
||||
./install/droidcam.sh
|
||||
|
||||
## droidcam-obs: Install droidcam-obs plugin
|
||||
droidcam-obs:
|
||||
./install/droidcam-obs.sh
|
||||
|
||||
#---------------------------------------------------
|
||||
|
||||
## help: This message
|
||||
help: Makefile
|
||||
@echo "Choose a command run:"
|
||||
@sed -n 's/^##//p' $< | column -t -s ':' | sed -e "s/^/\t/"
|
@ -1,15 +0,0 @@
|
||||
#!/bin/bash
|
||||
echo
|
||||
echo "==============================================="
|
||||
echo "Installing dotfiles..."
|
||||
echo "==============================================="
|
||||
echo
|
||||
|
||||
ENVDIR="$( cd "$( dirname "${BASH_SOURCE[0]}" )" >/dev/null 2>&1 && pwd )"
|
||||
DOTFILESDIR="$ENVDIR"/dotfiles
|
||||
|
||||
cp $DOTFILESDIR/.bash_aliases $HOME/.bash_aliases
|
||||
cp $DOTFILESDIR/.bashrc $HOME/.bashrc
|
||||
cp $DOTFILESDIR/.zshrc $HOME/.zshrc
|
||||
cp $DOTFILESDIR/.gitconfig $HOME/.gitconfig
|
||||
cp -R $DOTFILESDIR/Шаблоны $HOME/Шаблоны
|
24
install/droidcam-obs.sh
Executable file
24
install/droidcam-obs.sh
Executable file
@ -0,0 +1,24 @@
|
||||
#!/bin/bash
|
||||
# https://www.dev47apps.com/droidcam/linux/
|
||||
# https://www.dev47apps.com/obs/
|
||||
# https://www.dev47apps.com/obs/usage.html
|
||||
|
||||
echo
|
||||
echo "==============================================="
|
||||
echo "Installing droidcam-obs..."
|
||||
echo "==============================================="
|
||||
echo
|
||||
|
||||
command -v "obs" >/dev/null 2>&1 || echo 'You need to install obs first!'
|
||||
|
||||
mkdir -p ~/install/droidcam_obs
|
||||
wget -O /tmp/droidcam-obs.zip https://files.dev47apps.net/obs/droidcam_obs_1.5.1_linux.zip
|
||||
unzip -o /tmp/droidcam-obs.zip -d ~/install/droidcam-obs
|
||||
rm -rf /tmp/droidcam-obs.zip
|
||||
cd ~/install/droidcam-obs && ./install.sh
|
||||
|
||||
echo
|
||||
echo "Don't forget to:"
|
||||
echo "1) restart OBS if it is running right now"
|
||||
echo "2) install android app: https://play.google.com/store/apps/developer?id=Dev47Apps"
|
||||
echo
|
18
install/droidcam.sh
Executable file
18
install/droidcam.sh
Executable file
@ -0,0 +1,18 @@
|
||||
#!/bin/bash
|
||||
# https://www.dev47apps.com/droidcam/linux/
|
||||
|
||||
echo
|
||||
echo "==============================================="
|
||||
echo "Installing droidcam..."
|
||||
echo "==============================================="
|
||||
echo
|
||||
|
||||
mkdir -p ~/install/droidcam
|
||||
wget -O /tmp/droidcam.zip https://files.dev47apps.net/linux/droidcam_1.8.2.zip
|
||||
unzip -o /tmp/droidcam.zip -d ~/install/droidcam
|
||||
rm -rf /tmp/droidcam.zip
|
||||
cd ~/install/droidcam && sudo ./install-client
|
||||
|
||||
echo
|
||||
echo "Don't forget to install android app: https://play.google.com/store/apps/developer?id=Dev47Apps"
|
||||
echo
|
Loading…
Reference in New Issue
Block a user