Compare commits

..

5 Commits

Author SHA1 Message Date
“Ryan Bakkes”
9e887fe990 removed test 2023-08-30 16:48:42 +02:00
“Spekulaass”
a94a26841c test commit 2023-08-30 16:47:33 +02:00
“Spekulaas”
570ee1b4e2 added execute privalages 2023-08-24 17:09:31 +02:00
0843517021 discord fix 2023-02-17 08:36:43 +01:00
db18e41874 obs with background removal 2023-02-17 08:36:25 +01:00
17 changed files with 45 additions and 3 deletions

0
src/applications/adb.sh Normal file → Executable file
View File

0
src/applications/chrome.sh Normal file → Executable file
View File

0
src/applications/firefox.sh Normal file → Executable file
View File

0
src/applications/ionic.sh Normal file → Executable file
View File

0
src/applications/nordVPN.sh Normal file → Executable file
View File

44
src/applications/obs.sh Normal file → Executable file
View File

@@ -1,2 +1,42 @@
sudo apt update #!/usr/bin/env bash
sudo apt install obs-studio -y # 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
View File

0
src/applications/spotify.sh Normal file → Executable file
View File

0
src/applications/teams.sh Normal file → Executable file
View File

0
src/applications/typescript.sh Normal file → Executable file
View File

0
src/applications/vscode.sh Normal file → Executable file
View File

0
src/applications/yarn.sh Normal file → Executable file
View File

View File

@@ -1,2 +1,4 @@
sudo -u $SUDO_USER wget -O discord.deb "https://discordapp.com/api/download?platform=linux&format=deb" 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
View File

0
src/importantinstalls/node.sh Normal file → Executable file
View File

0
src/importantinstalls/openjdk.sh Normal file → Executable file
View File

0
src/importantinstalls/php.sh Normal file → Executable file
View File