Compare commits
5 Commits
c5fc379d0f
...
dev
Author | SHA1 | Date | |
---|---|---|---|
|
9e887fe990 | ||
|
a94a26841c | ||
|
570ee1b4e2 | ||
0843517021 | |||
db18e41874 |
0
src/applications/adb.sh
Normal file → Executable file
0
src/applications/adb.sh
Normal file → Executable file
0
src/applications/chrome.sh
Normal file → Executable file
0
src/applications/chrome.sh
Normal file → Executable file
0
src/applications/firefox.sh
Normal file → Executable file
0
src/applications/firefox.sh
Normal file → Executable file
0
src/applications/ionic.sh
Normal file → Executable file
0
src/applications/ionic.sh
Normal file → Executable file
0
src/applications/nordVPN.sh
Normal file → Executable file
0
src/applications/nordVPN.sh
Normal file → Executable file
44
src/applications/obs.sh
Normal file → Executable file
44
src/applications/obs.sh
Normal file → Executable file
@@ -1,2 +1,42 @@
|
||||
sudo apt update
|
||||
sudo apt install obs-studio -y
|
||||
#!/usr/bin/env bash
|
||||
# Plugin for enabling virtual camera
|
||||
sudo apt-get install v4l2loopback-dkms
|
||||
|
||||
sudo apt install obs-studio -y
|
||||
|
||||
sudo apt install -y libobs-dev libopencv-dev language-pack-en wget git build-essential cmake libsimde-dev
|
||||
sudo -u $SUDO_USER wget https://github.com/microsoft/onnxruntime/releases/download/v1.7.0/onnxruntime-linux-x64-1.7.0.tgz
|
||||
sudo tar xzvf onnxruntime-linux-x64-1.7.0.tgz --strip-components=1 -C /usr/local/ --wildcards "*/include/*" "*/lib*/"
|
||||
|
||||
# Clone and donwload plugin
|
||||
sudo -u $SUDO_USER mkdir -p Applications
|
||||
cd Applications
|
||||
sudo -u $SUDO_USER git clone https://github.com/royshil/obs-backgroundremoval.git
|
||||
cd obs-backgroundremoval
|
||||
|
||||
# There is still a build failure in the plugin for Ubuntu
|
||||
# Edit cmake and filter files to fix the problem
|
||||
sed -i 's/find_package(obs-frontend-api Required)/#find_package(obs-frontend-api Required)/g' CMakeLists.txt
|
||||
sed -i 's/OBS::libobs OBS::obs-frontend-api/obs obs-frontend-api/g' CMakeLists.txt
|
||||
|
||||
# add if statement for a function thats not needed on ubuntu
|
||||
ex /src/background-filter.cpp <<eof
|
||||
214 insert
|
||||
#if _WIN32
|
||||
.
|
||||
|
||||
219 insert
|
||||
#endif
|
||||
.
|
||||
|
||||
xit
|
||||
eof
|
||||
|
||||
# Build the package
|
||||
sudo -u $SUDO_USER mkdir build && cd build
|
||||
cmake .. && cmake --build . && sudo cmake --install .
|
||||
|
||||
# add links to plugin / add the plugin to user
|
||||
sudo -u $SUDO_USER mkdir -p ~/.config/obs-studio/plugins/obs-backgroundremoval/bin/64bit
|
||||
ln -s /usr/local/lib/obs-plugins/obs-backgroundremoval.so ~/.config/obs-studio/plugins/obs-backgroundremoval/bin/64bit/
|
||||
ln -s /usr/local/share/obs/obs-plugins/obs-backgroundremoval ~/.config/obs-studio/plugins/obs-backgroundremoval/data
|
||||
|
0
src/applications/slack.sh
Normal file → Executable file
0
src/applications/slack.sh
Normal file → Executable file
0
src/applications/spotify.sh
Normal file → Executable file
0
src/applications/spotify.sh
Normal file → Executable file
0
src/applications/teams.sh
Normal file → Executable file
0
src/applications/teams.sh
Normal file → Executable file
0
src/applications/typescript.sh
Normal file → Executable file
0
src/applications/typescript.sh
Normal file → Executable file
0
src/applications/vscode.sh
Normal file → Executable file
0
src/applications/vscode.sh
Normal file → Executable file
0
src/applications/yarn.sh
Normal file → Executable file
0
src/applications/yarn.sh
Normal file → Executable file
@@ -1,2 +1,4 @@
|
||||
sudo -u $SUDO_USER wget -O discord.deb "https://discordapp.com/api/download?platform=linux&format=deb"
|
||||
sudo dpkg -i discord.deb
|
||||
|
||||
sudo apt install ./discord-0.0.16.deb -y
|
||||
sudo apt-cache policy discord
|
||||
|
0
src/importantinstalls/gcc.sh
Normal file → Executable file
0
src/importantinstalls/gcc.sh
Normal file → Executable file
0
src/importantinstalls/node.sh
Normal file → Executable file
0
src/importantinstalls/node.sh
Normal file → Executable file
0
src/importantinstalls/openjdk.sh
Normal file → Executable file
0
src/importantinstalls/openjdk.sh
Normal file → Executable file
0
src/importantinstalls/php.sh
Normal file → Executable file
0
src/importantinstalls/php.sh
Normal file → Executable file
Reference in New Issue
Block a user