aboutsummaryrefslogtreecommitdiff
path: root/user-scripts/ubuntu-20.04/install-with-dependencies.sh
diff options
context:
space:
mode:
authorNunoSempere <nuno.sempere@protonmail.com>2022-12-17 20:33:37 +0100
committerNunoSempere <nuno.sempere@protonmail.com>2022-12-17 20:33:37 +0100
commit7ad3e023f8278c7e6803184ca760a3c181c3daa9 (patch)
tree4616a252c05e63a44672384cd2523cc120b9abef /user-scripts/ubuntu-20.04/install-with-dependencies.sh
parent981c15bf93dd531d331dc38792441b876dbedec0 (diff)
tweak: add user scripts to get this running on ubuntu 20.04
I thought these might be useful. Feel free to not accept them, though
Diffstat (limited to 'user-scripts/ubuntu-20.04/install-with-dependencies.sh')
-rw-r--r--user-scripts/ubuntu-20.04/install-with-dependencies.sh23
1 files changed, 23 insertions, 0 deletions
diff --git a/user-scripts/ubuntu-20.04/install-with-dependencies.sh b/user-scripts/ubuntu-20.04/install-with-dependencies.sh
new file mode 100644
index 0000000..b4ce72d
--- /dev/null
+++ b/user-scripts/ubuntu-20.04/install-with-dependencies.sh
@@ -0,0 +1,23 @@
+# Dependencies
+sudo apt install libwebkit2gtk-4.0-dev
+sudo apt install clang
+# sudo apt instal sudo apt install gstreamer1.0-plugins-good gstreamer1.0-libav
+
+# Adblock
+git clone https://github.com/jun7/wyebadblock
+cd wyebadblock
+make
+sudo make install
+cd ..
+
+# Rose config
+user=$(whoami)
+mkdir -p /home/$user/.cache/rose
+cp ../../config.def.h ../../config.h # you should also probably customize this yourself.
+sed "s/fenze/$user/g" ../../config.h
+
+sudo bash ../../install.sh
+
+# Ubuntu desktop icon
+chmod +x rose.desktop
+sudo cp rose.desktop /usr/share/applications