Use app name in crash dir path on linux/macos
This commit is contained in:
		
					parent
					
						
							
								709d2933b7
							
						
					
				
			
			
				commit
				
					
						fae0308861
					
				
			
		
					 1 changed files with 1 additions and 1 deletions
				
			
		| 
						 | 
				
			
			@ -86,7 +86,7 @@ describe('crashReporter module', function () {
 | 
			
		|||
 | 
			
		||||
        stopServer = startServer({
 | 
			
		||||
          callback (port) {
 | 
			
		||||
            const crashesDir = path.join(app.getPath('temp'), `Zombies Crashes`)
 | 
			
		||||
            const crashesDir = path.join(app.getPath('temp'), `${process.platform === 'win32' ? 'Zombies' : app.getName()} Crashes`)
 | 
			
		||||
            const version = app.getVersion()
 | 
			
		||||
            const crashPath = path.join(fixtures, 'module', 'crash.js')
 | 
			
		||||
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue