add tutorial-guide-for-safenet-authentication-client-for-code-signing

doc
This commit is contained in:
rustdesk 2024-02-19 23:23:00 +08:00
parent 582db9d542
commit 914da2b86f

View File

@ -271,7 +271,7 @@ def get_features(args):
features = ['inline'] if not args.flutter else [] features = ['inline'] if not args.flutter else []
if args.hwcodec: if args.hwcodec:
features.append('hwcodec') features.append('hwcodec')
if args.gpucodec: if args.gpucodec:
features.append('gpucodec') features.append('gpucodec')
if args.flutter: if args.flutter:
features.append('flutter') features.append('flutter')
@ -494,6 +494,7 @@ def main():
system2('mv target/release/rustdesk.exe target/release/RustDesk.exe') system2('mv target/release/rustdesk.exe target/release/RustDesk.exe')
pa = os.environ.get('P') pa = os.environ.get('P')
if pa: if pa:
# https://certera.com/kb/tutorial-guide-for-safenet-authentication-client-for-code-signing/
system2( system2(
f'signtool sign /a /v /p {pa} /debug /f .\\cert.pfx /t http://timestamp.digicert.com ' f'signtool sign /a /v /p {pa} /debug /f .\\cert.pfx /t http://timestamp.digicert.com '
'target\\release\\rustdesk.exe') 'target\\release\\rustdesk.exe')