mirror of
				https://github.com/vector-im/element-web.git
				synced 2025-11-04 10:11:03 +01:00 
			
		
		
		
	empirically fix win32 shortcut in start menu
This commit is contained in:
		
							parent
							
								
									8c523be6f5
								
							
						
					
					
						commit
						4de042bf58
					
				@ -3,7 +3,7 @@ const spawn = require('child_process').spawn;
 | 
			
		||||
const app = require('electron').app;
 | 
			
		||||
 | 
			
		||||
function run_update_exe(args, done) {
 | 
			
		||||
    const updateExe = path.resolve(path.dirname(process.execPath), '..', 'Update.exe');
 | 
			
		||||
    const updateExe = path.resolve(path.dirname(process.execPath), 'Update.exe');
 | 
			
		||||
    spawn(updateExe, args, {
 | 
			
		||||
      detached: true
 | 
			
		||||
    }).on('close', done);
 | 
			
		||||
 | 
			
		||||
		Loading…
	
	
			
			x
			
			
		
	
		Reference in New Issue
	
	Block a user