fix: rename filepath after dirchange
This commit is contained in:
		
							parent
							
								
									49df138b36
								
							
						
					
					
						commit
						7cecf5ae3a
					
				
							
								
								
									
										2
									
								
								config.h
									
									
									
									
									
								
							
							
						
						
									
										2
									
								
								config.h
									
									
									
									
									
								
							| 
						 | 
				
			
			@ -20,7 +20,7 @@
 | 
			
		|||
 | 
			
		||||
#define GTK "gtk-application-prefer-dark-theme", false, "gtk-enable-animations", false
 | 
			
		||||
#define ROSE_HOMEPAGE true
 | 
			
		||||
#define HOME ROSE_HOMEPAGE ? "file:///home/loki/Documents/core/software/fresh/C/rose-browser/rose-browser/user-scripts/ubuntu-20.04/rose-images/rose-homepage.png" : "https://lite.duckduckgo.com/html"
 | 
			
		||||
#define HOME ROSE_HOMEPAGE ? "file:///home/loki/Documents/core/software/fresh/C/rose-browser/rosenrot/user-scripts/ubuntu-20.04/rose-images/rose-homepage.png" : "https://lite.duckduckgo.com/html"
 | 
			
		||||
#define SEARCH "https://lite.duckduckgo.com/html/?q=%s"
 | 
			
		||||
#define CACHE_DIR "/home/loki/.cache/rose"
 | 
			
		||||
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
| 
						 | 
				
			
			@ -4,7 +4,7 @@
 | 
			
		|||
#define READABILITY_N 85133 + 1000
 | 
			
		||||
 | 
			
		||||
void read_readability_js(char* string){
 | 
			
		||||
  FILE *fp=fopen("/home/loki/Documents/core/software/fresh/C/rose-browser/rose-browser/plugins/readability/readability.js", "r");
 | 
			
		||||
  FILE *fp=fopen("/home/loki/Documents/core/software/fresh/C/rose-browser/rosenrot/plugins/readability/readability.js", "r");
 | 
			
		||||
  if (!fp) { // fp is NULL, fopen failed
 | 
			
		||||
    fprintf(stderr, "Failed to open file\n");
 | 
			
		||||
    string=NULL;
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
| 
						 | 
				
			
			@ -4,7 +4,7 @@
 | 
			
		|||
#define STYLE_N 1393 + 1
 | 
			
		||||
 | 
			
		||||
void read_style_js(char* string){
 | 
			
		||||
  FILE *fp=fopen("/home/loki/Documents/core/software/fresh/C/rose-browser/rose-browser/plugins/style/style.js", "r");
 | 
			
		||||
  FILE *fp=fopen("/home/loki/Documents/core/software/fresh/C/rose-browser/rosenrot/plugins/style/style.js", "r");
 | 
			
		||||
  if (!fp) { // fp is NULL, fopen failed
 | 
			
		||||
    fprintf(stderr, "Failed to open file\n");
 | 
			
		||||
    string=NULL;
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
							
								
								
									
										
											BIN
										
									
								
								screenshot/1.png
									
									
									
									
									
										Normal file
									
								
							
							
						
						
									
										
											BIN
										
									
								
								screenshot/1.png
									
									
									
									
									
										Normal file
									
								
							
										
											Binary file not shown.
										
									
								
							| 
		 After Width: | Height: | Size: 257 KiB  | 
							
								
								
									
										
											BIN
										
									
								
								screenshot/2-blog.png
									
									
									
									
									
										Normal file
									
								
							
							
						
						
									
										
											BIN
										
									
								
								screenshot/2-blog.png
									
									
									
									
									
										Normal file
									
								
							
										
											Binary file not shown.
										
									
								
							| 
		 After Width: | Height: | Size: 534 KiB  | 
							
								
								
									
										
											BIN
										
									
								
								screenshot/3-multiple-tabs.png
									
									
									
									
									
										Normal file
									
								
							
							
						
						
									
										
											BIN
										
									
								
								screenshot/3-multiple-tabs.png
									
									
									
									
									
										Normal file
									
								
							
										
											Binary file not shown.
										
									
								
							| 
		 After Width: | Height: | Size: 172 KiB  | 
| 
						 | 
				
			
			@ -6,4 +6,4 @@ Terminal=false
 | 
			
		|||
Exec= /usr/bin/rose %u
 | 
			
		||||
Name=Rose
 | 
			
		||||
Comment=Minimalistic browser
 | 
			
		||||
Icon=/home/loki/Documents/core/software/fresh/C/rose-browser/rose-browser/user-scripts/ubuntu-20.04/rose-images/rose-desktop-icon.png
 | 
			
		||||
Icon=/home/loki/Documents/core/software/fresh/C/rose-browser/rosenrot/user-scripts/ubuntu-20.04/rose-images/rose-desktop-icon.png
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
		Loading…
	
		Reference in New Issue
	
	Block a user