Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
9 changes: 0 additions & 9 deletions .changeset/few-falcons-grin.md

This file was deleted.

5 changes: 0 additions & 5 deletions .changeset/six-rice-knock.md

This file was deleted.

8 changes: 0 additions & 8 deletions .changeset/sweet-worlds-study.md

This file was deleted.

5 changes: 0 additions & 5 deletions .changeset/wild-roses-carry.md

This file was deleted.

133 changes: 133 additions & 0 deletions CHANGELOG.md

Large diffs are not rendered by default.

25 changes: 25 additions & 0 deletions packages/app-builder-lib/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,30 @@
# app-builder-lib

## 26.12.1

### Patch Changes

- Fix: harden generated-file output, argument construction, and download validation _[`#9778`](https://github.com/electron-userland/electron-builder/pull/9778) [`d6a5aee`](https://github.com/electron-userland/electron-builder/commit/d6a5aee821138449dc0c082606da6a1bf5ba0798) [@mmaietta](https://github.com/mmaietta)_
- Fix: properly parse and pass through `mas` configs to overwrite `mac` config when target is `mas` or `mas-dev` _[`#9567`](https://github.com/electron-userland/electron-builder/pull/9567) [`2c4cfa4`](https://github.com/electron-userland/electron-builder/commit/2c4cfa405303fe67008cce2d95a2645014e8e8e2) [@mmaietta](https://github.com/mmaietta)_
- Fix(codeql): resolving GH CodeQL alerts _[`#9783`](https://github.com/electron-userland/electron-builder/pull/9783) [`4866737`](https://github.com/electron-userland/electron-builder/commit/4866737e4fe1f0cca210d318b9ce440f8e978a63) [@mmaietta](https://github.com/mmaietta)_
- Chore: provide better error messaging when electron version in devDependencies or electronVersion property are not pinned _[`#9785`](https://github.com/electron-userland/electron-builder/pull/9785) [`f9ecb3c`](https://github.com/electron-userland/electron-builder/commit/f9ecb3c3f985ec999c3c8ba07e6054b0611284b6) [@mmaietta](https://github.com/mmaietta)_

<details><summary>Updated 5 dependencies</summary>

<small>

[`d6a5aee`](https://github.com/electron-userland/electron-builder/commit/d6a5aee821138449dc0c082606da6a1bf5ba0798) [`4866737`](https://github.com/electron-userland/electron-builder/commit/4866737e4fe1f0cca210d318b9ce440f8e978a63)

</small>

- `builder-util-runtime@9.6.2`
- `builder-util@26.12.1`
- `dmg-builder@26.12.1`
- `electron-builder-squirrel-windows@26.12.1`
- `electron-publish@26.12.1`

</details>

## 26.12.0

### Minor Changes
Expand Down
2 changes: 1 addition & 1 deletion packages/app-builder-lib/package.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"name": "app-builder-lib",
"description": "electron-builder lib",
"version": "26.12.0",
"version": "26.12.1",
"main": "out/index.js",
"files": [
"out",
Expand Down
16 changes: 15 additions & 1 deletion packages/app-builder-lib/src/macPackager.ts
Original file line number Diff line number Diff line change
@@ -1,7 +1,21 @@
import { SignOptions } from "@electron/osx-sign/dist/cjs/types"
import { Identity } from "@electron/osx-sign/dist/cjs/util-identities"
import { makeUniversalApp } from "@electron/universal"
import { Arch, AsyncTaskManager, copyFile, deepAssign, exec, exists, getArchSuffix, InvalidConfigurationError, log, orIfFileNotExist, sanitizeDirPath, unlinkIfExists, use } from "builder-util"
import {
Arch,
AsyncTaskManager,
copyFile,
deepAssign,
exec,
exists,
getArchSuffix,
InvalidConfigurationError,
log,
orIfFileNotExist,
sanitizeDirPath,
unlinkIfExists,
use,
} from "builder-util"
import { MemoLazy, Nullish } from "builder-util-runtime"
import * as fs from "fs/promises"
import { mkdir, readdir } from "fs/promises"
Expand Down
2 changes: 1 addition & 1 deletion packages/app-builder-lib/src/version.ts
Original file line number Diff line number Diff line change
@@ -1 +1 @@
export const PACKAGE_VERSION = "26.12.0"
export const PACKAGE_VERSION = "26.12.1"
7 changes: 7 additions & 0 deletions packages/builder-util-runtime/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,12 @@
# builder-util-runtime

## 9.6.2

### Patch Changes

- Fix: harden generated-file output, argument construction, and download validation _[`#9778`](https://github.com/electron-userland/electron-builder/pull/9778) [`d6a5aee`](https://github.com/electron-userland/electron-builder/commit/d6a5aee821138449dc0c082606da6a1bf5ba0798) [@mmaietta](https://github.com/mmaietta)_
- Fix(codeql): resolving GH CodeQL alerts _[`#9783`](https://github.com/electron-userland/electron-builder/pull/9783) [`4866737`](https://github.com/electron-userland/electron-builder/commit/4866737e4fe1f0cca210d318b9ce440f8e978a63) [@mmaietta](https://github.com/mmaietta)_

## 9.6.1

### Patch Changes
Expand Down
2 changes: 1 addition & 1 deletion packages/builder-util-runtime/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "builder-util-runtime",
"version": "9.6.1",
"version": "9.6.2",
"main": "out/index.js",
"author": "Vladimir Krivosheev",
"license": "MIT",
Expand Down
19 changes: 19 additions & 0 deletions packages/builder-util/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,24 @@
# builder-util

## 26.12.1

### Patch Changes

- Fix: harden generated-file output, argument construction, and download validation _[`#9778`](https://github.com/electron-userland/electron-builder/pull/9778) [`d6a5aee`](https://github.com/electron-userland/electron-builder/commit/d6a5aee821138449dc0c082606da6a1bf5ba0798) [@mmaietta](https://github.com/mmaietta)_
- Fix(codeql): resolving GH CodeQL alerts _[`#9783`](https://github.com/electron-userland/electron-builder/pull/9783) [`4866737`](https://github.com/electron-userland/electron-builder/commit/4866737e4fe1f0cca210d318b9ce440f8e978a63) [@mmaietta](https://github.com/mmaietta)_

<details><summary>Updated 1 dependency</summary>

<small>

[`d6a5aee`](https://github.com/electron-userland/electron-builder/commit/d6a5aee821138449dc0c082606da6a1bf5ba0798) [`4866737`](https://github.com/electron-userland/electron-builder/commit/4866737e4fe1f0cca210d318b9ce440f8e978a63)

</small>

- `builder-util-runtime@9.6.2`

</details>

## 26.12.0

### Minor Changes
Expand Down
2 changes: 1 addition & 1 deletion packages/builder-util/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "builder-util",
"version": "26.12.0",
"version": "26.12.1",
"main": "out/util.js",
"author": "Vladimir Krivosheev",
"license": "MIT",
Expand Down
19 changes: 19 additions & 0 deletions packages/dmg-builder/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,24 @@
# dmg-builder

## 26.12.1

### Patch Changes

- Fix: harden generated-file output, argument construction, and download validation _[`#9778`](https://github.com/electron-userland/electron-builder/pull/9778) [`d6a5aee`](https://github.com/electron-userland/electron-builder/commit/d6a5aee821138449dc0c082606da6a1bf5ba0798) [@mmaietta](https://github.com/mmaietta)_

<details><summary>Updated 2 dependencies</summary>

<small>

[`d6a5aee`](https://github.com/electron-userland/electron-builder/commit/d6a5aee821138449dc0c082606da6a1bf5ba0798) [`2c4cfa4`](https://github.com/electron-userland/electron-builder/commit/2c4cfa405303fe67008cce2d95a2645014e8e8e2) [`4866737`](https://github.com/electron-userland/electron-builder/commit/4866737e4fe1f0cca210d318b9ce440f8e978a63) [`f9ecb3c`](https://github.com/electron-userland/electron-builder/commit/f9ecb3c3f985ec999c3c8ba07e6054b0611284b6)

</small>

- `app-builder-lib@26.12.1`
- `builder-util@26.12.1`

</details>

## 26.12.0

### Patch Changes
Expand Down
2 changes: 1 addition & 1 deletion packages/dmg-builder/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "dmg-builder",
"version": "26.12.0",
"version": "26.12.1",
"main": "out/dmgUtil.js",
"author": "Vladimir Krivosheev",
"license": "MIT",
Expand Down
19 changes: 19 additions & 0 deletions packages/electron-builder-squirrel-windows/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,24 @@
# electron-builder-squirrel-windows

## 26.12.1

### Patch Changes

- Fix(codeql): resolving GH CodeQL alerts _[`#9783`](https://github.com/electron-userland/electron-builder/pull/9783) [`4866737`](https://github.com/electron-userland/electron-builder/commit/4866737e4fe1f0cca210d318b9ce440f8e978a63) [@mmaietta](https://github.com/mmaietta)_

<details><summary>Updated 2 dependencies</summary>

<small>

[`d6a5aee`](https://github.com/electron-userland/electron-builder/commit/d6a5aee821138449dc0c082606da6a1bf5ba0798) [`2c4cfa4`](https://github.com/electron-userland/electron-builder/commit/2c4cfa405303fe67008cce2d95a2645014e8e8e2) [`4866737`](https://github.com/electron-userland/electron-builder/commit/4866737e4fe1f0cca210d318b9ce440f8e978a63) [`f9ecb3c`](https://github.com/electron-userland/electron-builder/commit/f9ecb3c3f985ec999c3c8ba07e6054b0611284b6)

</small>

- `app-builder-lib@26.12.1`
- `builder-util@26.12.1`

</details>

## 26.12.0

### Patch Changes
Expand Down
2 changes: 1 addition & 1 deletion packages/electron-builder-squirrel-windows/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "electron-builder-squirrel-windows",
"version": "26.12.0",
"version": "26.12.1",
"main": "out/SquirrelWindowsTarget.js",
"author": "Vladimir Krivosheev",
"license": "MIT",
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -69,24 +69,24 @@ export default class SquirrelWindowsTarget extends Target {

try {
canonicalBaseDir = await fs.promises.realpath(resolvedBaseDir)
}
catch {
} catch {
canonicalBaseDir = resolvedBaseDir
}

try {
canonicalTargetPath = await fs.promises.realpath(resolvedTargetPath)
}
catch {
} catch {
// Target may not exist yet; resolve the parent to handle symlinks/junctions consistently
try {
const resolvedTargetParent = path.dirname(resolvedTargetPath)
const canonicalTargetParent = await fs.promises.realpath(resolvedTargetParent)
const relativeFromResolvedParent = path.relative(resolvedTargetParent, resolvedTargetPath)
if (isEmptyOrSpaces(relativeFromResolvedParent) ||
if (
isEmptyOrSpaces(relativeFromResolvedParent) ||
path.isAbsolute(relativeFromResolvedParent) ||
relativeFromResolvedParent.split(path.sep).includes("..") ||
/[\0\r\n]/.test(relativeFromResolvedParent)) {
/[\0\r\n]/.test(relativeFromResolvedParent)
) {
throw new InvalidConfigurationError(`${description} contains invalid path segments`)
}
canonicalTargetPath = path.resolve(canonicalTargetParent, relativeFromResolvedParent)
Expand Down
21 changes: 21 additions & 0 deletions packages/electron-builder/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,26 @@
# electron-builder

## 26.12.1

### Patch Changes

- Fix: harden generated-file output, argument construction, and download validation _[`#9778`](https://github.com/electron-userland/electron-builder/pull/9778) [`d6a5aee`](https://github.com/electron-userland/electron-builder/commit/d6a5aee821138449dc0c082606da6a1bf5ba0798) [@mmaietta](https://github.com/mmaietta)_

<details><summary>Updated 4 dependencies</summary>

<small>

[`d6a5aee`](https://github.com/electron-userland/electron-builder/commit/d6a5aee821138449dc0c082606da6a1bf5ba0798) [`2c4cfa4`](https://github.com/electron-userland/electron-builder/commit/2c4cfa405303fe67008cce2d95a2645014e8e8e2) [`4866737`](https://github.com/electron-userland/electron-builder/commit/4866737e4fe1f0cca210d318b9ce440f8e978a63) [`f9ecb3c`](https://github.com/electron-userland/electron-builder/commit/f9ecb3c3f985ec999c3c8ba07e6054b0611284b6)

</small>

- `builder-util-runtime@9.6.2`
- `app-builder-lib@26.12.1`
- `builder-util@26.12.1`
- `dmg-builder@26.12.1`

</details>

## 26.12.0

### Patch Changes
Expand Down
2 changes: 1 addition & 1 deletion packages/electron-builder/package.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"name": "electron-builder",
"description": "A complete solution to package and build a ready for distribution Electron app for MacOS, Windows and Linux with “auto update” support out of the box",
"version": "26.12.0",
"version": "26.12.1",
"main": "out/index.js",
"files": [
"out"
Expand Down
16 changes: 16 additions & 0 deletions packages/electron-forge-maker-appimage/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,21 @@
# electron-forge-maker-appimage

## 26.12.1

### Patch Changes

<details><summary>Updated 1 dependency</summary>

<small>

[`d6a5aee`](https://github.com/electron-userland/electron-builder/commit/d6a5aee821138449dc0c082606da6a1bf5ba0798) [`2c4cfa4`](https://github.com/electron-userland/electron-builder/commit/2c4cfa405303fe67008cce2d95a2645014e8e8e2) [`4866737`](https://github.com/electron-userland/electron-builder/commit/4866737e4fe1f0cca210d318b9ce440f8e978a63) [`f9ecb3c`](https://github.com/electron-userland/electron-builder/commit/f9ecb3c3f985ec999c3c8ba07e6054b0611284b6)

</small>

- `app-builder-lib@26.12.1`

</details>

## 26.12.0

### Patch Changes
Expand Down
2 changes: 1 addition & 1 deletion packages/electron-forge-maker-appimage/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "electron-forge-maker-appimage",
"version": "26.12.0",
"version": "26.12.1",
"main": "main.js",
"author": "Vladimir Krivosheev",
"license": "MIT",
Expand Down
16 changes: 16 additions & 0 deletions packages/electron-forge-maker-nsis-web/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,21 @@
# electron-forge-maker-nsis-web

## 26.12.1

### Patch Changes

<details><summary>Updated 1 dependency</summary>

<small>

[`d6a5aee`](https://github.com/electron-userland/electron-builder/commit/d6a5aee821138449dc0c082606da6a1bf5ba0798) [`2c4cfa4`](https://github.com/electron-userland/electron-builder/commit/2c4cfa405303fe67008cce2d95a2645014e8e8e2) [`4866737`](https://github.com/electron-userland/electron-builder/commit/4866737e4fe1f0cca210d318b9ce440f8e978a63) [`f9ecb3c`](https://github.com/electron-userland/electron-builder/commit/f9ecb3c3f985ec999c3c8ba07e6054b0611284b6)

</small>

- `app-builder-lib@26.12.1`

</details>

## 26.12.0

### Patch Changes
Expand Down
2 changes: 1 addition & 1 deletion packages/electron-forge-maker-nsis-web/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "electron-forge-maker-nsis-web",
"version": "26.12.0",
"version": "26.12.1",
"main": "main.js",
"author": "Vladimir Krivosheev",
"license": "MIT",
Expand Down
16 changes: 16 additions & 0 deletions packages/electron-forge-maker-nsis/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,21 @@
# electron-forge-maker-nsis

## 26.12.1

### Patch Changes

<details><summary>Updated 1 dependency</summary>

<small>

[`d6a5aee`](https://github.com/electron-userland/electron-builder/commit/d6a5aee821138449dc0c082606da6a1bf5ba0798) [`2c4cfa4`](https://github.com/electron-userland/electron-builder/commit/2c4cfa405303fe67008cce2d95a2645014e8e8e2) [`4866737`](https://github.com/electron-userland/electron-builder/commit/4866737e4fe1f0cca210d318b9ce440f8e978a63) [`f9ecb3c`](https://github.com/electron-userland/electron-builder/commit/f9ecb3c3f985ec999c3c8ba07e6054b0611284b6)

</small>

- `app-builder-lib@26.12.1`

</details>

## 26.12.0

### Patch Changes
Expand Down
2 changes: 1 addition & 1 deletion packages/electron-forge-maker-nsis/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "electron-forge-maker-nsis",
"version": "26.12.0",
"version": "26.12.1",
"main": "main.js",
"author": "Vladimir Krivosheev",
"license": "MIT",
Expand Down
16 changes: 16 additions & 0 deletions packages/electron-forge-maker-snap/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,21 @@
# electron-forge-maker-snap

## 26.12.1

### Patch Changes

<details><summary>Updated 1 dependency</summary>

<small>

[`d6a5aee`](https://github.com/electron-userland/electron-builder/commit/d6a5aee821138449dc0c082606da6a1bf5ba0798) [`2c4cfa4`](https://github.com/electron-userland/electron-builder/commit/2c4cfa405303fe67008cce2d95a2645014e8e8e2) [`4866737`](https://github.com/electron-userland/electron-builder/commit/4866737e4fe1f0cca210d318b9ce440f8e978a63) [`f9ecb3c`](https://github.com/electron-userland/electron-builder/commit/f9ecb3c3f985ec999c3c8ba07e6054b0611284b6)

</small>

- `app-builder-lib@26.12.1`

</details>

## 26.12.0

### Patch Changes
Expand Down
Loading
Loading