mirror of
				https://github.com/godotengine/godot.git
				synced 2025-10-31 13:41:03 +00:00 
			
		
		
		
	[HTML5] Add GDNative+Threads build.
This commit is contained in:
		
							parent
							
								
									e9ca65207e
								
							
						
					
					
						commit
						65dc01bd8e
					
				
					 4 changed files with 21 additions and 22 deletions
				
			
		|  | @ -52,10 +52,10 @@ def create_template_zip(env, js, wasm, extra): | |||
|     ] | ||||
|     # GDNative/Threads specific | ||||
|     if env["gdnative_enabled"]: | ||||
|         in_files.append(extra)  # Runtime | ||||
|         in_files.append(extra.pop())  # Runtime | ||||
|         out_files.append(zip_dir.File(binary_name + ".side.wasm")) | ||||
|     elif env["threads_enabled"]: | ||||
|         in_files.append(extra)  # Worker | ||||
|     if env["threads_enabled"]: | ||||
|         in_files.append(extra.pop())  # Worker | ||||
|         out_files.append(zip_dir.File(binary_name + ".worker.js")) | ||||
| 
 | ||||
|     service_worker = "#misc/dist/html/service-worker.js" | ||||
|  |  | |||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue
	
	 Fabio Alessandrelli
						Fabio Alessandrelli