This commit is contained in:
Kovid Goyal 2025-09-18 22:54:23 +05:30
parent 4e9c60a536
commit dcc60d7df4
No known key found for this signature in database
GPG Key ID: 06BC317B515ACE7C

View File

@ -382,9 +382,9 @@ def build_portable(env):
def sign_files(files):
printf('Signing {} files'.format(len(files)))
evars = os.environ.copy()
if USE_KEYLOCKER:
cspath = os.path.expandvars(r'${HOMEDRIVE}${HOMEPATH}\code-signing')
evars = os.environ.copy()
with open(os.path.join(cspath, 'digicert-api-key')) as f:
evars['SM_API_KEY'] = f.read().strip()
with open(os.path.join(cspath, 'digicert-client-certificate-password')) as f: