Maintainer guide, written for OpenCrate 1.5.9 (November 2026).
“Windows protected your PC — Microsoft Defender SmartScreen prevented an unrecognized app from starting.” The only buttons are More info, then Run anyway. For people who aren’t technical, this looks like a malware warning.
SmartScreen judges a downloaded program by reputation: how many people have run that exact file, and who signed it.
| Change | Effect |
|---|---|
| Release notes and README explain the warning, how to verify the fingerprint, and where to get the official file | Fewer people give up or get scared |
WinGet manifests are generated for every release (dist/winget/<version>/, kept as a workflow artifact) |
Once listed, winget install Vasilakious.OpenCrate installs without any SmartScreen prompt or Smart App Control block |
| The build is signing-ready: GitHub Actions signs automatically when signing secrets exist, and refuses to publish an unsigned release once signing is set up | No code changes needed on the day you get a certificate |
npm run dist:win:signed signs locally with a certificate in your Windows certificate store (cloud or USB) |
Works with certificates that can’t be used in CI |
win.signExts: [".dll"] signs Electron’s DLLs as well as the EXEs and the uninstaller |
Smart App Control checks every DLL an app loads |
| The updater checks the update’s signature: once OpenCrate is signed, an update signed by anyone else is refused | Protects users even if the release page were tampered with |
| The Health Check shows whether the installed copy is signed, and by whom | Easy to confirm a signed release |
package.json no longer claims an MIT licence |
It now points to the real (proprietary freeware) LICENSE |
In-app updates don’t show the warning: the updater downloads the installer itself, so the file isn’t marked as “downloaded from the internet”.
Since August 2024, no certificate type gets an instant SmartScreen pass. EV certificates lost their special treatment, and every signed file still builds reputation. Signing still matters a lot, though:
| Option | Fits OpenCrate? | Notes |
|---|---|---|
| Azure Artifact Signing (formerly Trusted Signing) — USD 9.99/month | Only for individuals in the USA/Canada, or organizations in the US, Canada, EU or UK | The cheapest option and it works in CI, but an individual in Greece can’t sign up. A registered business could. |
| Standard (individual) code-signing certificate from a CA such as Certum or SSL.com, stored in their cloud signing service | Yes | Since 2023, private keys must stay in a hardware token or cloud HSM. Use npm run dist:win:signed with the provider’s desktop signing app signed in, then -Publish to upload. Check each provider’s current price. |
| Free open-source signing (SignPath Foundation, Certum Open Source) | No | Requires an OSI open-source licence. OpenCrate’s licence is proprietary freeware. |
| EV certificate | Not worth it | Costs more and no longer skips SmartScreen. |
After signing is set up, keep the same certificate identity between renewals and timestamp every signature (electron-builder does this). Reputation then carries forward.
Add these repository secrets (Settings → Secrets and variables → Actions).
Azure Artifact Signing
AZURE_TENANT_ID, AZURE_CLIENT_ID, AZURE_CLIENT_SECRET: an app registration with the Artifact Signing Certificate Profile Signer role.AZURE_SIGNING_ENDPOINT: e.g. https://weu.codesigning.azure.net/.AZURE_SIGNING_ACCOUNT, AZURE_SIGNING_PROFILE.AZURE_SIGNING_PUBLISHER: must equal the certificate’s CN.Exportable .pfx certificate (rare today)
WIN_CSC_LINK: base64 of the .pfx.WIN_CSC_KEY_PASSWORD.With no secrets, the build still works, unsigned, and shows a workflow warning.
$env:OPENCRATE_CERT_SHA1 = '<thumbprint>' # certmgr.msc → Personal → Certificates → Details
npm run dist:win:signed # builds, signs, verifies and writes SHA256SUMS.txt
.\scripts\build-signed.ps1 -Publish # same, then uploads to the GitHub release (needs the GitHub CLI)
If you sign locally, don’t also let the workflow publish unsigned files for the same tag. Either build the release only with -Publish, or let the workflow publish first and then run -Publish, which replaces the installers and SHA256SUMS.txt.
npm run winget:manifest after building.microsoft/winget-pkgs, put the three files in manifests/v/Vasilakious/OpenCrate/<version>/, and open a pull request.wingetcreate update Vasilakious.OpenCrate -u <installer URL> -v <version> --submit (or komac update) does it in one command.Installs through WinGet, and through OpenCrate itself, don’t trigger SmartScreen.
unvirtualizedResources capability, which the Store must approve.