diff --git a/public/appupdate.js b/public/appupdate.js index 96c0054..4c6dada 100644 --- a/public/appupdate.js +++ b/public/appupdate.js @@ -27,7 +27,8 @@ const getArtifactName = (artifact) => const isCefInstallerArtifact = (artifact) => { const name = getArtifactName(artifact).toLowerCase() - return name.endsWith('-cef.exe') || name.endsWith('-cef.pkg') + // CEF builds are named like farmcontrol-0.1.1-x64-cef.msi / -cef.pkg / -cef.exe + return /-cef\.[a-z0-9]+$/.test(name) } const normalizeArch = (arch) => {