fix: send manifest instead of config to ui
This commit is contained in:
		
							parent
							
								
									026de532c8
								
							
						
					
					
						commit
						d03f7ab2c2
					
				@ -31,9 +31,9 @@ module.exports = function (window, sbot, params) {
 | 
				
			|||||||
  ))
 | 
					  ))
 | 
				
			||||||
 | 
					
 | 
				
			||||||
  // setup helper messages
 | 
					  // setup helper messages
 | 
				
			||||||
  ipc.on('fetch-config', function(e) {
 | 
					  ipc.on('fetch-manifest', function(e) {
 | 
				
			||||||
    if (e.sender == window.webContents)
 | 
					    if (e.sender == window.webContents)
 | 
				
			||||||
      e.returnValue = sbot.config
 | 
					      e.returnValue = sbot.manifest
 | 
				
			||||||
  });
 | 
					  });
 | 
				
			||||||
  ipc.on('fetch-params', function(e) {
 | 
					  ipc.on('fetch-params', function(e) {
 | 
				
			||||||
    if (e.sender == window.webContents)
 | 
					    if (e.sender == window.webContents)
 | 
				
			||||||
 | 
				
			|||||||
		Loading…
	
		Reference in New Issue
	
	Block a user