[AutoStart] Use index to fix PC support
This commit is contained in:
		
							parent
							
								
									234545f1ce
								
							
						
					
					
						commit
						f7325d6e35
					
				
					 2 changed files with 2 additions and 1 deletions
				
			
		
							
								
								
									
										1
									
								
								src/autoStart/index.js
									
										
									
									
									
										Normal file
									
								
							
							
						
						
									
										1
									
								
								src/autoStart/index.js
									
										
									
									
									
										Normal file
									
								
							|  | @ -0,0 +1 @@ | |||
| module.exports = require('./' + process.platform); | ||||
							
								
								
									
										2
									
								
								src/bootstrap.js
									
										
									
									
										vendored
									
									
								
							
							
						
						
									
										2
									
								
								src/bootstrap.js
									
										
									
									
										vendored
									
									
								
							|  | @ -24,7 +24,7 @@ process.on('uncaughtException', console.error); | |||
| const splash = require('./splash'); | ||||
| const updater = require('./updater/updater'); | ||||
| const moduleUpdater = require('./updater/moduleUpdater'); | ||||
| const autoStart = require('./autoStart/' + process.platform); | ||||
| const autoStart = require('./autoStart'); | ||||
| 
 | ||||
| let desktopCore; | ||||
| const startCore = () => { | ||||
|  |  | |||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue