mirror of
				https://github.com/EndPwnArchive/endpwn3.git
				synced 2024-08-15 00:23:30 +00:00 
			
		
		
		
	nvfm
This commit is contained in:
		
							parent
							
								
									ed27067fc9
								
							
						
					
					
						commit
						b62606a61b
					
				
					 1 changed files with 0 additions and 8 deletions
				
			
		| 
						 | 
				
			
			@ -40,14 +40,6 @@
 | 
			
		|||
                        win.webContents.executeJavaScript(stage2);
 | 
			
		||||
                    });
 | 
			
		||||
 | 
			
		||||
                    var preload = '';
 | 
			
		||||
                    if (fs.existsSync(data + '/preload.js')) {
 | 
			
		||||
                        preload = fs.readFileSync(data + '/preload.js').toString();
 | 
			
		||||
                    }
 | 
			
		||||
                    win.webContents.on('did-start-loading', () => {
 | 
			
		||||
                        win.webContents.executeJavaScript(preload);
 | 
			
		||||
                    });
 | 
			
		||||
 | 
			
		||||
                    // get the data path
 | 
			
		||||
                    var data = electron.app.getPath('userData');
 | 
			
		||||
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue