mirror of
				https://github.com/TriliumNext/Notes.git
				synced 2025-10-29 11:44:21 +08:00 
			
		
		
		
	Fix electron dep conflicts
This commit is contained in:
		
							parent
							
								
									8f524f4529
								
							
						
					
					
						commit
						14896fe845
					
				| @ -17,7 +17,10 @@ function getElectronVersion(distDir: string) { | ||||
| 
 | ||||
|     const packageJsonPath = join(distDir, "package.json"); | ||||
|     const packageJson = JSON.parse(readFileSync(packageJsonPath, "utf-8")); | ||||
|     return packageJson.dependencies.electron; | ||||
| 
 | ||||
|     const electronVersion = packageJson.devDependencies.electron || packageJson.dependencies.electron; | ||||
| 
 | ||||
|     return electronVersion; | ||||
| } | ||||
| 
 | ||||
| function main() { | ||||
|  | ||||
		Loading…
	
	
			
			x
			
			
		
	
		Reference in New Issue
	
	Block a user
	 JYC333
						JYC333