| 
									
										
										
										
											2016-08-17 21:36:50 +02:00
										 |  |  | #!/bin/bash -e | 
					
						
							| 
									
										
										
										
											2018-07-06 22:16:47 -07:00
										 |  |  | # | 
					
						
							|  |  |  | # just a simple helper to make it easier for me to sign our binaries | 
					
						
							| 
									
										
										
										
											2013-12-15 11:19:01 -08:00
										 |  |  | 
 | 
					
						
							|  |  |  | echo -- signing staging/Subsurface.app | 
					
						
							|  |  |  | cd staging | 
					
						
							|  |  |  | 
 | 
					
						
							| 
									
										
										
										
											2018-07-03 09:27:53 -07:00
										 |  |  | # remove the spurious DBus framework that we don't need | 
					
						
							| 
									
										
										
										
											2019-11-20 10:47:18 -08:00
										 |  |  | #rm -rf Subsurface.app/Contents/Frameworks/QtDBus.framework | 
					
						
							| 
									
										
										
										
											2018-07-03 09:27:53 -07:00
										 |  |  | 
 | 
					
						
							| 
									
										
										
										
											2018-07-06 22:16:47 -07:00
										 |  |  | # remove anything codesign doesn't want us to sign | 
					
						
							|  |  |  | find Subsurface.app/Contents/Frameworks/ \( -name Headers -o -name \*.prl -o -name \*_debug \) -print0 | xargs -0 rm -rf | 
					
						
							| 
									
										
										
										
											2013-12-15 11:19:01 -08:00
										 |  |  | 
 | 
					
						
							| 
									
										
										
										
											2019-01-25 10:51:29 +13:00
										 |  |  | codesign --keychain $HOME/Library/Keychains/login.keychain -s "Developer ID Application: Dirk Hohndel" --deep --force Subsurface.app |