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
		
	
	
		
			309 B
		
	
	
	
		
			TypeScript
		
	
		
		
			
		
	
	
			13 lines
		
	
	
		
			309 B
		
	
	
	
		
			TypeScript
		
	
| 
								 
											4 years ago
										 
									 | 
							
								import path from 'path';
							 | 
						||
| 
								 | 
							
								
							 | 
						||
| 
								 | 
							
								import { app } from 'electron';
							 | 
						||
| 
								 | 
							
								
							 | 
						||
| 
								 | 
							
								import { start } from './base_config';
							 | 
						||
| 
								 | 
							
								
							 | 
						||
| 
								 | 
							
								const userDataPath = app.getPath('userData');
							 | 
						||
| 
								 | 
							
								const targetPath = path.join(userDataPath, 'ephemeral.json');
							 | 
						||
| 
								 | 
							
								
							 | 
						||
| 
								 | 
							
								export const ephemeralConfig = start('ephemeral', targetPath, {
							 | 
						||
| 
								 | 
							
								  allowMalformedOnStartup: true,
							 | 
						||
| 
								 | 
							
								});
							 |