-
-
Notifications
You must be signed in to change notification settings - Fork 1.8k
Comparing changes
Open a pull request
base repository: electron-userland/electron-builder
base: electron-updater@6.3.9
head repository: electron-userland/electron-builder
compare: electron-updater@6.4.0
Commits on Oct 2, 2024
-
Configuration menu - View commit details
-
Copy full SHA for cd1e3b0 - Browse repository at this point
Copy the full SHA cd1e3b0View commit details
Commits on Oct 6, 2024
-
fix: Path does not end with the package name (#8560)
fix #8558 The @isaacs/cliui package depends on string-width-cjs@4.2.3, but the package that's actually downloaded is string-width@4.2.3. The name in the path doesn't match the original name, which is causing an error. Fix solution: Truncate based on scope depth, not by name. ``` "string-width-cjs": { "from": "string-width", "version": "4.2.3", "resolved": "https://registry.npmjs.org/string-width/-/string-width-4.2.3.tgz", "description": "Get the visual width of a string - the number of columns required to display it", "license": "MIT", "author": { "name": "Sindre Sorhus", "email": "sindresorhus@gmail.com", "url": "sindresorhus.com" }, "homepage": "https://github.com/sindresorhus/string-width#readme", "repository": "git+https://github.com/sindresorhus/string-width.git", "path": "/Users/beyondkmp/Code/deepFocus/node_modules/.pnpm/string-width@4.2.3/node_modules/string-width", } ``` --------- Co-authored-by: beyondkmp <beyondkmkp@gmail.com>
Configuration menu - View commit details
-
Copy full SHA for 4ff778e - Browse repository at this point
Copy the full SHA 4ff778eView commit details -
Configuration menu - View commit details
-
Copy full SHA for 1d61d6f - Browse repository at this point
Copy the full SHA 1d61d6fView commit details -
Configuration menu - View commit details
-
Copy full SHA for 2f0b621 - Browse repository at this point
Copy the full SHA 2f0b621View commit details -
Configuration menu - View commit details
-
Copy full SHA for ae9221d - Browse repository at this point
Copy the full SHA ae9221dView commit details -
Configuration menu - View commit details
-
Copy full SHA for e45fecf - Browse repository at this point
Copy the full SHA e45fecfView commit details -
Configuration menu - View commit details
-
Copy full SHA for 13f55a3 - Browse repository at this point
Copy the full SHA 13f55a3View commit details
Commits on Oct 7, 2024
-
fix: support including node_modules in other subdirectories (#8562)
fix #6080 and support including node_modules in other subdirectories **How to fix** 1. No file patterns - The final File patterns are `["**/*", "!**/node_modules/**", "!dist{,/**/*}", ...] ` 2. File patterns with other sub node_modules `["/*", "**/sub/node_modules/**"]` - File patterns are `["**/*", "!**/node_modules/**", "**/sub/node_modules/**", "!dist{,/**/*}", ...]` 3. File patterns without sub node_modules - The final File patterns are `["**/*", "!**/node_modules/**", "!dist{,/**/*}", ...]` The final patterns above all filter out the node_modules in the app root directory. In filter.ts, we handle this by returning false by default if relative === 'node_modules', so it won't be filtered out. https://github.com/electron-userland/electron-builder/blob/e2c79819751454dbd1a939610d66e940b5dfb73d/packages/app-builder-lib/src/util/filter.ts#L60-L62 However, if you really want to filter out the node_modules in the app directory, you can use `["!node_modules/**/*"]` to filter it. **Two points to note** 1. Now `["**/*", "**/sub/node_modules"]` cannot match. Only `["**/*", "**/sub/node_modules/**"]` will match. For a relative path of` sub/node_modules`, if don't add a `/ ` at the end, we can only use `**/sub/node_module` to match. If add a `/` at the end, we can only use `**/sub/node_module/**` to match. **I currently prefer that `**/sub/node_modules/**` matches, as this aligns more with conventional usage.** 2. `*/sub/node_modules/**` cannot match because the relative path is `sub/node_modules`, and there's no extra directory at the beginning. --------- Co-authored-by: beyondkmp <beyondkmkp@gmail.com>
Configuration menu - View commit details
-
Copy full SHA for b8185d4 - Browse repository at this point
Copy the full SHA b8185d4View commit details
Commits on Oct 9, 2024
-
Configuration menu - View commit details
-
Copy full SHA for 1fee87a - Browse repository at this point
Copy the full SHA 1fee87aView commit details -
Configuration menu - View commit details
-
Copy full SHA for a25d04d - Browse repository at this point
Copy the full SHA a25d04dView commit details -
feat: allowing additional entries in .desktop file, such as `[Desktop…
… Actions <actionName>]` (#8572)
Configuration menu - View commit details
-
Copy full SHA for 0dbe357 - Browse repository at this point
Copy the full SHA 0dbe357View commit details -
Configuration menu - View commit details
-
Copy full SHA for 515a1d5 - Browse repository at this point
Copy the full SHA 515a1d5View commit details -
fix: add additional default exclusions (
node_gyp_bins
, `pnpm-lock.y……aml`, `.obj`) to copy logic (#8577)
Configuration menu - View commit details
-
Copy full SHA for e9eef0c - Browse repository at this point
Copy the full SHA e9eef0cView commit details
Commits on Oct 10, 2024
-
Configuration menu - View commit details
-
Copy full SHA for dfa35c3 - Browse repository at this point
Copy the full SHA dfa35c3View commit details -
fix: packages in the workspace not being under node_modules (#8576)
fix develar/app-builder#141 reproduced error info ``` ● yarn several workspaces /tmp/et-db411cd21f3bbd882f3a5a30c58db6ff/t-kIKFAh/test-project-2/packages/foo/package.json must be under /tmp/et-db411cd21f3bbd882f3a5a30c58db6ff/t-kIKFAh/test-project-2/packages/test-app/ 30 | const index = file.indexOf(NODE_MODULES_PATTERN) 31 | if (index < 0) { > 32 | throw new Error(`${file} must be under ${srcWithEndSlash}`) | ^ 33 | } else { 34 | return file.substring(index + 1 /* leading slash */) 35 | } at getRelativePath (../packages/app-builder-lib/src/util/filter.ts:32:13) at AsarPackager.unpackPattern (../packages/app-builder-lib/src/util/filter.ts:57:20) at AsarPackager.createPackageFromFiles (../packages/app-builder-lib/src/asar/asarUtil.ts:129:82) at AsarPackager.pack (../packages/app-builder-lib/src/asar/asarUtil.ts:49:41) at ../packages/app-builder-lib/src/platformPackager.ts:439:11 at async Promise.all (index 0) at AsyncTaskManager.awaitTasks (../packages/builder-util/src/asyncTaskManager.ts:65:25) at LinuxPackager.doPack (../packages/app-builder-lib/src/platformPackager.ts:293:5) at LinuxPackager.pack (../packages/app-builder-lib/src/platformPackager.ts:138:5) at Packager.doBuild (../packages/app-builder-lib/src/packager.ts:459:9) at executeFinally (../packages/builder-util/src/promise.ts:12:14) at Packager.build (../packages/app-builder-lib/src/packager.ts:393:31) at packAndCheck (src/helpers/packTester.ts:188:41) at src/helpers/packTester.ts:132:36 at executeFinally (../packages/builder-util/src/promise.ts:12:14) ``` Currently, the returned node_modules paths are no longer symlinks, but resolved paths. For example, packages in pnpm workspace/yarn workspace are not under node_modules. All previous getRealSource/getRelativePath methods were based on node_modules in the path, which was relatively tricky. https://github.com/electron-userland/electron-builder/blob/a25d04d5a8e58b447f0462673a4362414da9ed27/packages/app-builder-lib/src/util/appFileCopier.ts#L191-L203 https://github.com/electron-userland/electron-builder/blob/a25d04d5a8e58b447f0462673a4362414da9ed27/packages/app-builder-lib/src/util/filter.ts#L28-L36 Solution: Directly include relativeNodeModulesPath in the file stats. This is simple and easy to understand. --------- Co-authored-by: Mike Maietta <mmaietta@users.noreply.github.com>
Configuration menu - View commit details
-
Copy full SHA for 3eab714 - Browse repository at this point
Copy the full SHA 3eab714View commit details -
Configuration menu - View commit details
-
Copy full SHA for 104a580 - Browse repository at this point
Copy the full SHA 104a580View commit details
Commits on Oct 11, 2024
-
Configuration menu - View commit details
-
Copy full SHA for 2642dee - Browse repository at this point
Copy the full SHA 2642deeView commit details -
Configuration menu - View commit details
-
Copy full SHA for 8cc2b42 - Browse repository at this point
Copy the full SHA 8cc2b42View commit details
Commits on Oct 12, 2024
-
Configuration menu - View commit details
-
Copy full SHA for c848430 - Browse repository at this point
Copy the full SHA c848430View commit details
Commits on Oct 13, 2024
-
Configuration menu - View commit details
-
Copy full SHA for 8434e10 - Browse repository at this point
Copy the full SHA 8434e10View commit details -
Configuration menu - View commit details
-
Copy full SHA for 2d4ea9d - Browse repository at this point
Copy the full SHA 2d4ea9dView commit details
Commits on Oct 14, 2024
-
chore(deps): update fast-xml-parser to 4.4.1 (#8593)
chore(deps): update fast-xml-parser to 4.4.1 to fix https://github.com/electron-userland/electron-builder/security/dependabot/31
Configuration menu - View commit details
-
Copy full SHA for bc9c99b - Browse repository at this point
Copy the full SHA bc9c99bView commit details -
chore(deps): update jest to 29.7.0 (#8594)
chore(deps): update jest to 29.7.0 to fix https://github.com/electron-userland/electron-builder/security/dependabot/26
Configuration menu - View commit details
-
Copy full SHA for eb2c7a3 - Browse repository at this point
Copy the full SHA eb2c7a3View commit details -
Configuration menu - View commit details
-
Copy full SHA for f941f18 - Browse repository at this point
Copy the full SHA f941f18View commit details
Commits on Oct 15, 2024
-
fix(win): Revert "fix(win): use appInfo description as primary entry …
Configuration menu - View commit details
-
Copy full SHA for 215fc36 - Browse repository at this point
Copy the full SHA 215fc36View commit details
Commits on Oct 16, 2024
-
Configuration menu - View commit details
-
Copy full SHA for 712a8bc - Browse repository at this point
Copy the full SHA 712a8bcView commit details -
Configuration menu - View commit details
-
Copy full SHA for d4ea0d9 - Browse repository at this point
Copy the full SHA d4ea0d9View commit details -
chore: refactor Publishers out of app-builder-lib into electron-publi…
…sh and add to docs site (#8596)
Configuration menu - View commit details
-
Copy full SHA for e0b0e35 - Browse repository at this point
Copy the full SHA e0b0e35View commit details -
fix: add quotes to surround file path during azure signing to handle …
…files with spaces (#8606)
Configuration menu - View commit details
-
Copy full SHA for a0e635c - Browse repository at this point
Copy the full SHA a0e635cView commit details -
Configuration menu - View commit details
-
Copy full SHA for 74d98d8 - Browse repository at this point
Copy the full SHA 74d98d8View commit details
Commits on Oct 23, 2024
-
Configuration menu - View commit details
-
Copy full SHA for cfa67c0 - Browse repository at this point
Copy the full SHA cfa67c0View commit details
Commits on Oct 25, 2024
-
Configuration menu - View commit details
-
Copy full SHA for dcd91a1 - Browse repository at this point
Copy the full SHA dcd91a1View commit details -
Configuration menu - View commit details
-
Copy full SHA for 2a3195d - Browse repository at this point
Copy the full SHA 2a3195dView commit details
Commits on Oct 26, 2024
-
Configuration menu - View commit details
-
Copy full SHA for 96f5c3e - Browse repository at this point
Copy the full SHA 96f5c3eView commit details
Commits on Oct 28, 2024
-
fix: remove concurrency of windows codesign to resolve azure trusted …
…signing file locks(#8632)
Configuration menu - View commit details
-
Copy full SHA for 645e2ab - Browse repository at this point
Copy the full SHA 645e2abView commit details -
Configuration menu - View commit details
-
Copy full SHA for 3d31094 - Browse repository at this point
Copy the full SHA 3d31094View commit details
Commits on Oct 30, 2024
-
Configuration menu - View commit details
-
Copy full SHA for 2800662 - Browse repository at this point
Copy the full SHA 2800662View commit details
Commits on Oct 31, 2024
-
Configuration menu - View commit details
-
Copy full SHA for f84a083 - Browse repository at this point
Copy the full SHA f84a083View commit details
Commits on Nov 1, 2024
-
Configuration menu - View commit details
-
Copy full SHA for 796e1a0 - Browse repository at this point
Copy the full SHA 796e1a0View commit details -
fix(asar): check ResolvedFileSet src when verifying symlinks to be wi…
…thin project directory (#8654)
Configuration menu - View commit details
-
Copy full SHA for 9e11358 - Browse repository at this point
Copy the full SHA 9e11358View commit details -
Configuration menu - View commit details
-
Copy full SHA for e796d24 - Browse repository at this point
Copy the full SHA e796d24View commit details
Commits on Nov 2, 2024
-
Configuration menu - View commit details
-
Copy full SHA for 2593a1f - Browse repository at this point
Copy the full SHA 2593a1fView commit details
Commits on Nov 3, 2024
-
Configuration menu - View commit details
-
Copy full SHA for b06c5ef - Browse repository at this point
Copy the full SHA b06c5efView commit details
Commits on Nov 4, 2024
-
Configuration menu - View commit details
-
Copy full SHA for df07101 - Browse repository at this point
Copy the full SHA df07101View commit details
Commits on Nov 5, 2024
-
Configuration menu - View commit details
-
Copy full SHA for fb26f6a - Browse repository at this point
Copy the full SHA fb26f6aView commit details -
feat: add AppArmor profile to FPM targets to pair with
afterInstall
…… and `afterRemove` template scripts (#8636)
Configuration menu - View commit details
-
Copy full SHA for 88cc0b0 - Browse repository at this point
Copy the full SHA 88cc0b0View commit details -
Configuration menu - View commit details
-
Copy full SHA for 866b0ca - Browse repository at this point
Copy the full SHA 866b0caView commit details -
Configuration menu - View commit details
-
Copy full SHA for a1ee041 - Browse repository at this point
Copy the full SHA a1ee041View commit details
Commits on Nov 6, 2024
-
Configuration menu - View commit details
-
Copy full SHA for 3cca3c3 - Browse repository at this point
Copy the full SHA 3cca3c3View commit details
Commits on Nov 7, 2024
-
Configuration menu - View commit details
-
Copy full SHA for a4505a3 - Browse repository at this point
Copy the full SHA a4505a3View commit details
There are no files selected for viewing
This file was deleted.