Merge pull request #32 from NunoSempere/ubuntu-20.04-scripts
tweak: add user scripts to get this running on ubuntu 20.04
This commit is contained in:
		
						commit
						3325e17195
					
				
							
								
								
									
										23
									
								
								user-scripts/ubuntu-20.04/install-with-dependencies.sh
									
									
									
									
									
										Normal file
									
								
							
							
						
						
									
										23
									
								
								user-scripts/ubuntu-20.04/install-with-dependencies.sh
									
									
									
									
									
										Normal file
									
								
							| 
						 | 
				
			
			@ -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
 | 
			
		||||
							
								
								
									
										
											BIN
										
									
								
								user-scripts/ubuntu-20.04/rose-images/rose-1.png
									
									
									
									
									
										Normal file
									
								
							
							
						
						
									
										
											BIN
										
									
								
								user-scripts/ubuntu-20.04/rose-images/rose-1.png
									
									
									
									
									
										Normal file
									
								
							
										
											Binary file not shown.
										
									
								
							| 
		 After Width: | Height: | Size: 625 KiB  | 
							
								
								
									
										
											BIN
										
									
								
								user-scripts/ubuntu-20.04/rose-images/rose-2.png
									
									
									
									
									
										Normal file
									
								
							
							
						
						
									
										
											BIN
										
									
								
								user-scripts/ubuntu-20.04/rose-images/rose-2.png
									
									
									
									
									
										Normal file
									
								
							
										
											Binary file not shown.
										
									
								
							| 
		 After Width: | Height: | Size: 474 KiB  | 
							
								
								
									
										
											BIN
										
									
								
								user-scripts/ubuntu-20.04/rose-images/rose-desktop-icon.png
									
									
									
									
									
										Normal file
									
								
							
							
						
						
									
										
											BIN
										
									
								
								user-scripts/ubuntu-20.04/rose-images/rose-desktop-icon.png
									
									
									
									
									
										Normal file
									
								
							
										
											Binary file not shown.
										
									
								
							| 
		 After Width: | Height: | Size: 739 KiB  | 
							
								
								
									
										
											BIN
										
									
								
								user-scripts/ubuntu-20.04/rose-images/rose-homepage.png
									
									
									
									
									
										Normal file
									
								
							
							
						
						
									
										
											BIN
										
									
								
								user-scripts/ubuntu-20.04/rose-images/rose-homepage.png
									
									
									
									
									
										Normal file
									
								
							
										
											Binary file not shown.
										
									
								
							| 
		 After Width: | Height: | Size: 474 KiB  | 
							
								
								
									
										1
									
								
								user-scripts/ubuntu-20.04/rose-images/rose-src.txt
									
									
									
									
									
										Normal file
									
								
							
							
						
						
									
										1
									
								
								user-scripts/ubuntu-20.04/rose-images/rose-src.txt
									
									
									
									
									
										Normal file
									
								
							| 
						 | 
				
			
			@ -0,0 +1 @@
 | 
			
		|||
<https://www.onlygfx.com/red-rose-png-image-transparent/>
 | 
			
		||||
							
								
								
									
										9
									
								
								user-scripts/ubuntu-20.04/rose.desktop
									
									
									
									
									
										Executable file
									
								
							
							
						
						
									
										9
									
								
								user-scripts/ubuntu-20.04/rose.desktop
									
									
									
									
									
										Executable file
									
								
							| 
						 | 
				
			
			@ -0,0 +1,9 @@
 | 
			
		|||
#!/usr/bin/env xdg-open
 | 
			
		||||
[Desktop Entry]
 | 
			
		||||
Version=1.0
 | 
			
		||||
Type=Application
 | 
			
		||||
Terminal=false
 | 
			
		||||
Exec= /usr/bin/rose
 | 
			
		||||
Name=Rose
 | 
			
		||||
Comment=Minimalistic browser
 | 
			
		||||
Icon=/home/loki/Documents/core/software/fresh/C/rose-browser/rose-bud-personal/user-scripts/ubuntu-20.04/rose-images/rose-desktop-icon.png
 | 
			
		||||
		Loading…
	
		Reference in New Issue
	
	Block a user