* docs: add app information example * Code review changes * Remove demo-control css class, link href change
		
			
				
	
	
		
			5 lines
		
	
	
		
			No EOL
		
	
	
		
			140 B
			
		
	
	
	
		
			JavaScript
		
	
	
	
	
	
			
		
		
	
	
			5 lines
		
	
	
		
			No EOL
		
	
	
		
			140 B
			
		
	
	
	
		
			JavaScript
		
	
	
	
	
	
const {app, ipcMain} = require('electron')
 | 
						|
 | 
						|
ipcMain.on('get-app-path', (event) => {
 | 
						|
  event.sender.send('got-app-path', app.getAppPath())
 | 
						|
}) |