mirror of
				https://github.com/chickensoft-games/setup-godot.git
				synced 2025-10-31 19:23:57 +00:00 
			
		
		
		
	remove deprecated node api
This commit is contained in:
		
							parent
							
								
									e5e77d28fc
								
							
						
					
					
						commit
						42292b670e
					
				
							
								
								
									
										2
									
								
								dist/index.js
									
									
									
										generated
									
									
										vendored
									
									
								
							
							
						
						
									
										2
									
								
								dist/index.js
									
									
									
										generated
									
									
										vendored
									
									
								
							| @ -168,7 +168,7 @@ function run(platform) { | ||||
|                 core.startGroup(`📦 Extracting Godot to ${installationDir}...`); | ||||
|                 // If the godot installation folder already exists, remove it before extracting the ZIP file. This will "uninstall" other installations (e.g. on version changes).
 | ||||
|                 if (fs.existsSync(installationDir)) | ||||
|                     fs.rmdirSync(installationDir, { recursive: true }); | ||||
|                     fs.rmSync(installationDir, { recursive: true, force: true }); | ||||
|                 const godotExtractedPath = yield toolsCache.extractZip(godotDownloadedPath, installationDir); | ||||
|                 core.info(`✅ Godot extracted to ${godotExtractedPath}`); | ||||
|                 core.endGroup(); | ||||
|  | ||||
							
								
								
									
										2
									
								
								dist/index.js.map
									
									
									
										generated
									
									
										vendored
									
									
								
							
							
						
						
									
										2
									
								
								dist/index.js.map
									
									
									
										generated
									
									
										vendored
									
									
								
							
										
											
												File diff suppressed because one or more lines are too long
											
										
									
								
							| @ -155,7 +155,7 @@ async function run(platform: Platform): Promise<void> { | ||||
| 
 | ||||
|       // If the godot installation folder already exists, remove it before extracting the ZIP file. This will "uninstall" other installations (e.g. on version changes).
 | ||||
|       if (fs.existsSync(installationDir)) | ||||
|         fs.rmdirSync(installationDir, {recursive: true}) | ||||
|         fs.rmSync(installationDir, {recursive: true, force: true}) | ||||
| 
 | ||||
|       const godotExtractedPath = await toolsCache.extractZip( | ||||
|         godotDownloadedPath, | ||||
|  | ||||
		Loading…
	
	
			
			x
			
			
		
	
		Reference in New Issue
	
	Block a user