mirror of
https://github.com/kovidgoyal/calibre.git
synced 2025-07-09 03:04:10 -04:00
Add a note about codesign breaking due to network congestion
This commit is contained in:
parent
9339ed74f1
commit
328f6231c5
@ -20,6 +20,11 @@ def current_dir(path):
|
||||
def codesign(items):
|
||||
if isinstance(items, basestring):
|
||||
items = [items]
|
||||
# If you get errors while codesigning that look like "A timestamp was
|
||||
# expected but not found" it means that codesign failed to contact Apple's time
|
||||
# servers, probably due to network congestion, so add --timestamp=none to
|
||||
# this command line. That means the signature will fail one your code
|
||||
# signing key expires and key revocation wont work, but...
|
||||
subprocess.check_call(['codesign', '-s', 'Kovid Goyal'] + list(items))
|
||||
|
||||
def files_in(folder):
|
||||
|
Loading…
x
Reference in New Issue
Block a user