fix(desktop): use full Windows installers within the feed limit
This commit is contained in:
parent
52df7e7e7b
commit
df680e4716
17 changed files with 109 additions and 32 deletions
4
scripts/ci/lib/desktop-installer-mode.mjs
Normal file
4
scripts/ci/lib/desktop-installer-mode.mjs
Normal file
|
|
@ -0,0 +1,4 @@
|
|||
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)
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue