Skip to content

Instantly share code, notes, and snippets.

@Draknek
Created August 7, 2026 22:11
Show Gist options
  • Select an option

  • Save Draknek/5684aff7427d51f9e884968dcef2ebf9 to your computer and use it in GitHub Desktop.

Select an option

Save Draknek/5684aff7427d51f9e884968dcef2ebf9 to your computer and use it in GitHub Desktop.
@echo off
call "%~dp0\config.bat"
set TARGET=%1
%RCODESIGN% sign --p12-file "%~dp0\notarize.p12" --p12-password "%NOTARIZE_P12_PASSWORD%" --for-notarization "%TARGET%"
%RCODESIGN% notary-submit --api-key-file "%~dp0\notarize.json" --staple "%TARGET%"
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment