export function supportsWindowsDifferentialDownload(builderSource) { const nsisBlock = /^nsis:\r?\n((?:[ \t]+[^\r\n]*(?:\r?\n|$))*)/m.exec(builderSource)?.[1] ?? '' return !/^[ \t]+differentialPackage:[ \t]*false[ \t]*(?:#.*)?$/m.test(nsisBlock) }