mirror of
				https://github.com/hydralauncher/hydra.git
				synced 2025-03-09 15:40:26 +00:00 
			
		
		
		
	feat: adding link direct from sources
This commit is contained in:
		
							parent
							
								
									d3450c5f65
								
							
						
					
					
						commit
						59655a819a
					
				
					 2 changed files with 20 additions and 0 deletions
				
			
		
							
								
								
									
										10
									
								
								src/main/events/catalogue/get-developers.ts
									
										
									
									
									
										Normal file
									
								
							
							
						
						
									
										10
									
								
								src/main/events/catalogue/get-developers.ts
									
										
									
									
									
										Normal file
									
								
							|  | @ -0,0 +1,10 @@ | |||
| import { HydraApi } from "@main/services"; | ||||
| import { registerEvent } from "../register-event"; | ||||
| 
 | ||||
| const getDevelopers = async (_event: Electron.IpcMainInvokeEvent) => { | ||||
|   return HydraApi.get<string[]>(`/catalogue/developers`, null, { | ||||
|     needsAuth: false, | ||||
|   }); | ||||
| }; | ||||
| 
 | ||||
| registerEvent("getDevelopers", getDevelopers); | ||||
							
								
								
									
										10
									
								
								src/main/events/catalogue/get-publishers.ts
									
										
									
									
									
										Normal file
									
								
							
							
						
						
									
										10
									
								
								src/main/events/catalogue/get-publishers.ts
									
										
									
									
									
										Normal file
									
								
							|  | @ -0,0 +1,10 @@ | |||
| import { HydraApi } from "@main/services"; | ||||
| import { registerEvent } from "../register-event"; | ||||
| 
 | ||||
| const getPublishers = async (_event: Electron.IpcMainInvokeEvent) => { | ||||
|   return HydraApi.get<string[]>(`/catalogue/publishers`, null, { | ||||
|     needsAuth: false, | ||||
|   }); | ||||
| }; | ||||
| 
 | ||||
| registerEvent("getPublishers", getPublishers); | ||||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue