Reset icon and clear progress bar
This commit is contained in:
		
					parent
					
						
							
								5f0238ebf4
							
						
					
				
			
			
				commit
				
					
						b6f87574ee
					
				
			
		
					 1 changed files with 5 additions and 0 deletions
				
			
		| 
						 | 
				
			
			@ -344,6 +344,11 @@ describe('browser-window module', function () {
 | 
			
		|||
          app.dock.setIcon(path.join(fixtures, 'assets', 'logo.png'))
 | 
			
		||||
        }
 | 
			
		||||
        w.setProgressBar(.5)
 | 
			
		||||
 | 
			
		||||
        if (process.platform === 'darwin') {
 | 
			
		||||
          app.dock.setIcon(null)
 | 
			
		||||
        }
 | 
			
		||||
        w.setProgressBar(-1)
 | 
			
		||||
      })
 | 
			
		||||
    })
 | 
			
		||||
  })
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue