| 
									
										
										
										
											2022-02-04 10:24:49 -08:00
										 |  |  | // Copyright 2021-2022 Signal Messenger, LLC
 | 
					
						
							| 
									
										
										
										
											2021-12-17 18:50:42 +01:00
										 |  |  | // SPDX-License-Identifier: AGPL-3.0-only
 | 
					
						
							|  |  |  | 
 | 
					
						
							|  |  |  | import type { AfterPackContext } from 'electron-builder'; | 
					
						
							|  |  |  | import { afterPack as fuseElectron } from './fuse-electron'; | 
					
						
							| 
									
										
										
										
											2022-02-04 10:24:49 -08:00
										 |  |  | import { afterPack as copyPacks } from './copy-language-packs'; | 
					
						
							| 
									
										
										
										
											2022-02-23 15:34:51 -08:00
										 |  |  | import { afterPack as pruneMacOSRelease } from './prune-macos-release'; | 
					
						
							| 
									
										
										
										
											2021-12-17 18:50:42 +01:00
										 |  |  | 
 | 
					
						
							|  |  |  | export async function afterPack(context: AfterPackContext): Promise<void> { | 
					
						
							| 
									
										
										
										
											2022-02-23 15:34:51 -08:00
										 |  |  |   await pruneMacOSRelease(context); | 
					
						
							| 
									
										
										
										
											2021-12-17 18:50:42 +01:00
										 |  |  |   await fuseElectron(context); | 
					
						
							| 
									
										
										
										
											2022-02-04 10:24:49 -08:00
										 |  |  |   await copyPacks(context); | 
					
						
							| 
									
										
										
										
											2021-12-17 18:50:42 +01:00
										 |  |  | } |