code signing of for mac OS Electron js
notarytool store-credentials support@exmaple.com --password "sss-ddddd-ffff-xxxx"
notarytool store-credentials --apple-id support@exmaple.com --password "sss-ddddd-ffff-xxxx" --team-id 2JJS8JD3HDHD
notarytool submit ./dist/Track-360.zip --keychain-profile "Track360" --wait
and get response like this
notarytool submit ./dist/Track-360.zip --keychain-profile "Track360" --wait
Conducting pre-submission checks for Track-360.zip and initiating connection to the Apple notary service...
Submission ID received
id: 1730141d-149e-4cab-b0a4-3ca3953f29e5
Upload progress: 100.00% (166 MB of 166 MB)
Successfully uploaded file
id: 1730141d-149e-4cab-b0a4-3ca3953f29e5
path: /Users/rvsmedia/Documents/build/screenshort-app/dist/Track-360.zip
Waiting for processing to complete.
Current status: Accepted............
Processing complete
id: 1730141d-149e-4cab-b0a4-3ca3953f29e5
status: Accepted
codesign --deep --force --sign "2J85YK8GXQ" --entitlements ./entitlements.mac.plist ./dist/Track-360.mac
notarytool submit ./dist/Track-360.dmg --keychain-profile "Track360" --wait
stapler staple ./dist/Track-360.dmg
codesign --deep --force --verbose --sign "2J85YK8GXQ" /Applications/Track-360.app