Skip to content

Commit 1dcf6bc

Browse files
chore(deploy): Release v25.0.4 (electron-updater@6.3.3) (#8402)
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
1 parent f88c657 commit 1dcf6bc

File tree

29 files changed

+108
-48
lines changed

29 files changed

+108
-48
lines changed

.changeset/angry-cycles-kick.md

Lines changed: 0 additions & 5 deletions
This file was deleted.

.changeset/brown-singers-breathe.md

Lines changed: 0 additions & 5 deletions
This file was deleted.

.changeset/clean-trainers-talk.md

Lines changed: 0 additions & 5 deletions
This file was deleted.

.changeset/old-ducks-cry.md

Lines changed: 0 additions & 5 deletions
This file was deleted.

.changeset/sixty-plants-lie.md

Lines changed: 0 additions & 5 deletions
This file was deleted.

.changeset/smooth-roses-laugh.md

Lines changed: 0 additions & 5 deletions
This file was deleted.

CHANGELOG.md

Lines changed: 19 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,22 @@
1+
# [](https://github.com/electron-userland/electron-builder/compare/v25.0.3...v) (2024-08-11)
2+
3+
4+
### Bug Fixes
5+
6+
* add `disableDefaultIgnoredFiles` option ([#8398](https://github.com/electron-userland/electron-builder/issues/8398)) ([5ab2bee](https://github.com/electron-userland/electron-builder/commit/5ab2bee1e1db77967c65d56443f0dc79de5071da))
7+
* add custom `channel` in github provider ([#8393](https://github.com/electron-userland/electron-builder/issues/8393)) ([8dabf64](https://github.com/electron-userland/electron-builder/commit/8dabf64b8f84975cf4eb016dcd23411ab0d4bf64))
8+
* broken link formatting in the docs ([#8407](https://github.com/electron-userland/electron-builder/issues/8407)) ([6cc6b8d](https://github.com/electron-userland/electron-builder/commit/6cc6b8deb4c7682d3c4cc9e450572dd7a135f8ae))
9+
* **electron-updater,deb:** Handle spaces in application artifact name for deb ([#8400](https://github.com/electron-userland/electron-builder/issues/8400)) ([9dc0b49](https://github.com/electron-userland/electron-builder/commit/9dc0b49aea1d3bb56b42c3b1bdb6001708a34439))
10+
* handle spaces in artifact name for all linux platforms instead of only .deb ([#8403](https://github.com/electron-userland/electron-builder/issues/8403)) ([1c14820](https://github.com/electron-userland/electron-builder/commit/1c14820b97fad802b300dd93ccd4d6a10a72360f))
11+
* return parent dir for local dependency ([#8406](https://github.com/electron-userland/electron-builder/issues/8406)) ([f7daeb9](https://github.com/electron-userland/electron-builder/commit/f7daeb9976353f7b12c093c88b6e1136b6317880))
12+
13+
14+
### Features
15+
16+
* always unpack native node files ([#8392](https://github.com/electron-userland/electron-builder/issues/8392)) ([12c52a8](https://github.com/electron-userland/electron-builder/commit/12c52a81420f04ec0e205dd83798c2b0b773011d))
17+
18+
19+
120
# [](https://github.com/electron-userland/electron-builder/compare/v25.0.2...v) (2024-07-31)
221

322

docs/generated/DebOptions.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
<ul>
2-
<li><code id="DebOptions-depends">depends</code> Array&lt;String&gt; | “undefined” - Package dependencies. Defaults to <code>[&quot;gconf2&quot;, &quot;gconf-service&quot;, &quot;libnotify4&quot;, &quot;libappindicator1&quot;, &quot;libxtst6&quot;, &quot;libnss3&quot;]</code>. If need to support Debian, <code>libappindicator1</code> should be removed, it is <a href="https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=895037">deprecated in Debian</a>. If need to support KDE, <code>gconf2</code> and <code>gconf-service</code> should be removed as it’s no longer used by GNOME](<a href="https://packages.debian.org/bullseye/gconf2">https://packages.debian.org/bullseye/gconf2</a>).</li>
2+
<li><code id="DebOptions-depends">depends</code> Array&lt;String&gt; | “undefined” - Package dependencies. Defaults to <code>[&quot;gconf2&quot;, &quot;gconf-service&quot;, &quot;libnotify4&quot;, &quot;libappindicator1&quot;, &quot;libxtst6&quot;, &quot;libnss3&quot;]</code>. If need to support Debian, <code>libappindicator1</code> should be removed, it is <a href="https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=895037">deprecated in Debian</a>. If need to support KDE, <code>gconf2</code> and <code>gconf-service</code> should be removed as it’s no longer used <a href="https://packages.debian.org/bullseye/gconf2">by GNOME</a>.</li>
33
<li><code id="DebOptions-recommends">recommends</code> Array&lt;String&gt; | “undefined” - The <a href="https://www.debian.org/doc/debian-policy/ch-relationships.html#s-binarydeps">recommended package dependencies</a>…</li>
44
<li><code id="DebOptions-packageCategory">packageCategory</code> String | “undefined” - The <a href="https://www.debian.org/doc/debian-policy/ch-controlfields.html#s-f-Section">package category</a>.</li>
55
<li><code id="DebOptions-priority">priority</code> String | “undefined” - The <a href="https://www.debian.org/doc/debian-policy/ch-controlfields.html#s-f-Priority">Priority</a> attribute.</li>

packages/app-builder-lib/CHANGELOG.md

Lines changed: 14 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,19 @@
11
# app-builder-lib
22

3+
## 25.0.4
4+
5+
### Patch Changes
6+
7+
- [#8392](https://github.com/electron-userland/electron-builder/pull/8392) [`12c52a81`](https://github.com/electron-userland/electron-builder/commit/12c52a81420f04ec0e205dd83798c2b0b773011d) Thanks [@beyondkmp](https://github.com/beyondkmp)! - Automatically place .node files into app.asar.unpack
8+
9+
- [#8406](https://github.com/electron-userland/electron-builder/pull/8406) [`f7daeb99`](https://github.com/electron-userland/electron-builder/commit/f7daeb9976353f7b12c093c88b6e1136b6317880) Thanks [@beyondkmp](https://github.com/beyondkmp)! - fix: return parent dir for local dependency
10+
11+
- [#8398](https://github.com/electron-userland/electron-builder/pull/8398) [`5ab2bee1`](https://github.com/electron-userland/electron-builder/commit/5ab2bee1e1db77967c65d56443f0dc79de5071da) Thanks [@beyondkmp](https://github.com/beyondkmp)! - fix: add disableDefaultIgnoredFiles option
12+
13+
- Updated dependencies []:
14+
- dmg-builder@25.0.4
15+
- electron-builder-squirrel-windows@25.0.4
16+
317
## 25.0.3
418

519
### Patch Changes

packages/app-builder-lib/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
{
22
"name": "app-builder-lib",
33
"description": "electron-builder lib",
4-
"version": "25.0.3",
4+
"version": "25.0.4",
55
"main": "out/index.js",
66
"files": [
77
"out",

packages/app-builder-lib/scheme.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -566,7 +566,7 @@
566566
"type": "null"
567567
}
568568
],
569-
"description": "Package dependencies. Defaults to `[\"gconf2\", \"gconf-service\", \"libnotify4\", \"libappindicator1\", \"libxtst6\", \"libnss3\"]`.\nIf need to support Debian, `libappindicator1` should be removed, it is [deprecated in Debian](https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=895037).\nIf need to support KDE, `gconf2` and `gconf-service` should be removed as it's no longer used by GNOME](https://packages.debian.org/bullseye/gconf2)."
569+
"description": "Package dependencies. Defaults to `[\"gconf2\", \"gconf-service\", \"libnotify4\", \"libappindicator1\", \"libxtst6\", \"libnss3\"]`.\nIf need to support Debian, `libappindicator1` should be removed, it is [deprecated in Debian](https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=895037).\nIf need to support KDE, `gconf2` and `gconf-service` should be removed as it's no longer used [by GNOME](https://packages.debian.org/bullseye/gconf2)."
570570
},
571571
"description": {
572572
"description": "As [description](/configuration/configuration#Metadata-description) from application package.json, but allows you to specify different for Linux.",
Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
export const PACKAGE_VERSION = "25.0.3"
1+
export const PACKAGE_VERSION = "25.0.4"

packages/dmg-builder/CHANGELOG.md

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,12 @@
11
# dmg-builder
22

3+
## 25.0.4
4+
5+
### Patch Changes
6+
7+
- Updated dependencies [[`12c52a81`](https://github.com/electron-userland/electron-builder/commit/12c52a81420f04ec0e205dd83798c2b0b773011d), [`f7daeb99`](https://github.com/electron-userland/electron-builder/commit/f7daeb9976353f7b12c093c88b6e1136b6317880), [`5ab2bee1`](https://github.com/electron-userland/electron-builder/commit/5ab2bee1e1db77967c65d56443f0dc79de5071da)]:
8+
- app-builder-lib@25.0.4
9+
310
## 25.0.3
411

512
### Patch Changes

packages/dmg-builder/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "dmg-builder",
3-
"version": "25.0.3",
3+
"version": "25.0.4",
44
"main": "out/dmgUtil.js",
55
"author": "Vladimir Krivosheev",
66
"license": "MIT",

packages/electron-builder-squirrel-windows/CHANGELOG.md

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,12 @@
11
# electron-builder-squirrel-windows
22

3+
## 25.0.4
4+
5+
### Patch Changes
6+
7+
- Updated dependencies [[`12c52a81`](https://github.com/electron-userland/electron-builder/commit/12c52a81420f04ec0e205dd83798c2b0b773011d), [`f7daeb99`](https://github.com/electron-userland/electron-builder/commit/f7daeb9976353f7b12c093c88b6e1136b6317880), [`5ab2bee1`](https://github.com/electron-userland/electron-builder/commit/5ab2bee1e1db77967c65d56443f0dc79de5071da)]:
8+
- app-builder-lib@25.0.4
9+
310
## 25.0.3
411

512
### Patch Changes

packages/electron-builder-squirrel-windows/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "electron-builder-squirrel-windows",
3-
"version": "25.0.3",
3+
"version": "25.0.4",
44
"main": "out/SquirrelWindowsTarget.js",
55
"author": "Vladimir Krivosheev",
66
"license": "MIT",

packages/electron-builder/CHANGELOG.md

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,13 @@
11
# electron-builder
22

3+
## 25.0.4
4+
5+
### Patch Changes
6+
7+
- Updated dependencies [[`12c52a81`](https://github.com/electron-userland/electron-builder/commit/12c52a81420f04ec0e205dd83798c2b0b773011d), [`f7daeb99`](https://github.com/electron-userland/electron-builder/commit/f7daeb9976353f7b12c093c88b6e1136b6317880), [`5ab2bee1`](https://github.com/electron-userland/electron-builder/commit/5ab2bee1e1db77967c65d56443f0dc79de5071da)]:
8+
- app-builder-lib@25.0.4
9+
- dmg-builder@25.0.4
10+
311
## 25.0.3
412

513
### Patch Changes

packages/electron-builder/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
{
22
"name": "electron-builder",
33
"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",
4-
"version": "25.0.3",
4+
"version": "25.0.4",
55
"main": "out/index.js",
66
"files": [
77
"out"

packages/electron-forge-maker-appimage/CHANGELOG.md

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,12 @@
11
# electron-forge-maker-appimage
22

3+
## 25.0.4
4+
5+
### Patch Changes
6+
7+
- Updated dependencies [[`12c52a81`](https://github.com/electron-userland/electron-builder/commit/12c52a81420f04ec0e205dd83798c2b0b773011d), [`f7daeb99`](https://github.com/electron-userland/electron-builder/commit/f7daeb9976353f7b12c093c88b6e1136b6317880), [`5ab2bee1`](https://github.com/electron-userland/electron-builder/commit/5ab2bee1e1db77967c65d56443f0dc79de5071da)]:
8+
- app-builder-lib@25.0.4
9+
310
## 25.0.3
411

512
### Patch Changes

packages/electron-forge-maker-appimage/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "electron-forge-maker-appimage",
3-
"version": "25.0.3",
3+
"version": "25.0.4",
44
"main": "main.js",
55
"author": "Vladimir Krivosheev",
66
"license": "MIT",

packages/electron-forge-maker-nsis-web/CHANGELOG.md

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,12 @@
11
# electron-forge-maker-nsis-web
22

3+
## 25.0.4
4+
5+
### Patch Changes
6+
7+
- Updated dependencies [[`12c52a81`](https://github.com/electron-userland/electron-builder/commit/12c52a81420f04ec0e205dd83798c2b0b773011d), [`f7daeb99`](https://github.com/electron-userland/electron-builder/commit/f7daeb9976353f7b12c093c88b6e1136b6317880), [`5ab2bee1`](https://github.com/electron-userland/electron-builder/commit/5ab2bee1e1db77967c65d56443f0dc79de5071da)]:
8+
- app-builder-lib@25.0.4
9+
310
## 25.0.3
411

512
### Patch Changes

packages/electron-forge-maker-nsis-web/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "electron-forge-maker-nsis-web",
3-
"version": "25.0.3",
3+
"version": "25.0.4",
44
"main": "main.js",
55
"author": "Vladimir Krivosheev",
66
"license": "MIT",

packages/electron-forge-maker-nsis/CHANGELOG.md

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,12 @@
11
# electron-forge-maker-nsis
22

3+
## 25.0.4
4+
5+
### Patch Changes
6+
7+
- Updated dependencies [[`12c52a81`](https://github.com/electron-userland/electron-builder/commit/12c52a81420f04ec0e205dd83798c2b0b773011d), [`f7daeb99`](https://github.com/electron-userland/electron-builder/commit/f7daeb9976353f7b12c093c88b6e1136b6317880), [`5ab2bee1`](https://github.com/electron-userland/electron-builder/commit/5ab2bee1e1db77967c65d56443f0dc79de5071da)]:
8+
- app-builder-lib@25.0.4
9+
310
## 25.0.3
411

512
### Patch Changes

packages/electron-forge-maker-nsis/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "electron-forge-maker-nsis",
3-
"version": "25.0.3",
3+
"version": "25.0.4",
44
"main": "main.js",
55
"author": "Vladimir Krivosheev",
66
"license": "MIT",

packages/electron-forge-maker-snap/CHANGELOG.md

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,12 @@
11
# electron-forge-maker-snap
22

3+
## 25.0.4
4+
5+
### Patch Changes
6+
7+
- Updated dependencies [[`12c52a81`](https://github.com/electron-userland/electron-builder/commit/12c52a81420f04ec0e205dd83798c2b0b773011d), [`f7daeb99`](https://github.com/electron-userland/electron-builder/commit/f7daeb9976353f7b12c093c88b6e1136b6317880), [`5ab2bee1`](https://github.com/electron-userland/electron-builder/commit/5ab2bee1e1db77967c65d56443f0dc79de5071da)]:
8+
- app-builder-lib@25.0.4
9+
310
## 25.0.3
411

512
### Patch Changes

packages/electron-forge-maker-snap/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "electron-forge-maker-snap",
3-
"version": "25.0.3",
3+
"version": "25.0.4",
44
"main": "main.js",
55
"author": "Vladimir Krivosheev",
66
"license": "MIT",

packages/electron-updater/CHANGELOG.md

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,15 @@
11
## 4.3.0
22

3+
## 6.3.3
4+
5+
### Patch Changes
6+
7+
- [#8400](https://github.com/electron-userland/electron-builder/pull/8400) [`9dc0b49a`](https://github.com/electron-userland/electron-builder/commit/9dc0b49aea1d3bb56b42c3b1bdb6001708a34439) Thanks [@Ryan432](https://github.com/Ryan432)! - fix: Handle Linux deb auto update installation on applications having spaces in `artifactName`.
8+
9+
- [#8393](https://github.com/electron-userland/electron-builder/pull/8393) [`8dabf64b`](https://github.com/electron-userland/electron-builder/commit/8dabf64b8f84975cf4eb016dcd23411ab0d4bf64) Thanks [@beyondkmp](https://github.com/beyondkmp)! - fix: allow custom channel in github provider
10+
11+
- [#8403](https://github.com/electron-userland/electron-builder/pull/8403) [`1c14820b`](https://github.com/electron-userland/electron-builder/commit/1c14820b97fad802b300dd93ccd4d6a10a72360f) Thanks [@xyloflake](https://github.com/xyloflake)! - fix: handle spaces for all linux package managers
12+
313
## 6.3.2
414

515
### Patch Changes

packages/electron-updater/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "electron-updater",
3-
"version": "6.3.2",
3+
"version": "6.3.3",
44
"description": "Cross platform updater for electron applications",
55
"main": "out/main.js",
66
"author": "Vladimir Krivosheev",

packages/electron-updater/src/BaseUpdater.ts

Lines changed: 3 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -48,19 +48,16 @@ export abstract class BaseUpdater extends AppUpdater {
4848
}
4949

5050
const downloadedUpdateHelper = this.downloadedUpdateHelper
51-
51+
5252
// Get the installer path, ensuring spaces are escaped on Linux
5353
// 1. Check if downloadedUpdateHelper is not null
5454
// 2. Check if downloadedUpdateHelper.file is not null
5555
// 3. If both checks pass:
5656
// a. If the platform is Linux, replace spaces with '\ ' for shell compatibility
5757
// b. If the platform is not Linux, use the original path
5858
// 4. If any check fails, set installerPath to null
59-
const installerPath = downloadedUpdateHelper && downloadedUpdateHelper.file
60-
? (process.platform === 'linux'
61-
? downloadedUpdateHelper.file.replace(/ /g, '\\ ')
62-
: downloadedUpdateHelper.file)
63-
: null;
59+
const installerPath =
60+
downloadedUpdateHelper && downloadedUpdateHelper.file ? (process.platform === "linux" ? downloadedUpdateHelper.file.replace(/ /g, "\\ ") : downloadedUpdateHelper.file) : null
6461

6562
const downloadedFileInfo = downloadedUpdateHelper == null ? null : downloadedUpdateHelper.downloadedFileInfo
6663
if (installerPath == null || downloadedFileInfo == null) {

0 commit comments

Comments
 (0)