[AutoStart] Remove index and name files platform-specific
This commit is contained in:
		
							parent
							
								
									91a752c6e6
								
							
						
					
					
						commit
						234545f1ce
					
				
					 3 changed files with 1 additions and 14 deletions
				
			
		|  | @ -1,13 +0,0 @@ | |||
| // Depends on platform
 | ||||
| switch (process.platform) { | ||||
|   case 'win32': | ||||
|     module.exports = require('./win32.js'); | ||||
|     break; | ||||
|    | ||||
|   case 'linux': | ||||
|     module.exports = require('./linux.js'); | ||||
|     break; | ||||
|    | ||||
|   default: | ||||
|     module.exports = require('./stub.js'); | ||||
| } | ||||
							
								
								
									
										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'); | ||||
| const autoStart = require('./autoStart/' + process.platform); | ||||
| 
 | ||||
| let desktopCore; | ||||
| const startCore = () => { | ||||
|  |  | |||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue