You cannot select more than 25 topics
			Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
		
		
		
		
		
			
		
			
	
	
		
			13 lines
		
	
	
		
			314 B
		
	
	
	
		
			JavaScript
		
	
		
		
			
		
	
	
			13 lines
		
	
	
		
			314 B
		
	
	
	
		
			JavaScript
		
	
| 
								 
											7 years ago
										 
									 | 
							
								const path = require('path');
							 | 
						||
| 
								 | 
							
								
							 | 
						||
| 
								 | 
							
								const { app } = require('electron');
							 | 
						||
| 
								 | 
							
								
							 | 
						||
| 
								 | 
							
								const { start } = require('./base_config');
							 | 
						||
| 
								 | 
							
								
							 | 
						||
| 
								 | 
							
								const userDataPath = app.getPath('userData');
							 | 
						||
| 
								 | 
							
								const targetPath = path.join(userDataPath, 'ephemeral.json');
							 | 
						||
| 
								 | 
							
								
							 | 
						||
| 
								 | 
							
								const ephemeralConfig = start('ephemeral', targetPath);
							 | 
						||
| 
								 | 
							
								
							 | 
						||
| 
								 | 
							
								module.exports = ephemeralConfig;
							 |