diff --git a/.changeset/angry-cycles-kick.md b/.changeset/angry-cycles-kick.md
deleted file mode 100644
index 68a7d82c5a9..00000000000
--- a/.changeset/angry-cycles-kick.md
+++ /dev/null
@@ -1,5 +0,0 @@
----
-"electron-updater": patch
----
-
-fix: Handle Linux deb auto update installation on applications having spaces in `artifactName`.
diff --git a/.changeset/brown-singers-breathe.md b/.changeset/brown-singers-breathe.md
deleted file mode 100644
index 3373a4016d9..00000000000
--- a/.changeset/brown-singers-breathe.md
+++ /dev/null
@@ -1,5 +0,0 @@
----
-"app-builder-lib": patch
----
-
-Automatically place .node files into app.asar.unpack
diff --git a/.changeset/clean-trainers-talk.md b/.changeset/clean-trainers-talk.md
deleted file mode 100644
index f13c7758f9b..00000000000
--- a/.changeset/clean-trainers-talk.md
+++ /dev/null
@@ -1,5 +0,0 @@
----
-"electron-updater": patch
----
-
-fix: allow custom channel in github provider
diff --git a/.changeset/old-ducks-cry.md b/.changeset/old-ducks-cry.md
deleted file mode 100644
index 31092bf2ce1..00000000000
--- a/.changeset/old-ducks-cry.md
+++ /dev/null
@@ -1,5 +0,0 @@
----
-"electron-updater": patch
----
-
-fix: handle spaces for all linux package managers
diff --git a/.changeset/sixty-plants-lie.md b/.changeset/sixty-plants-lie.md
deleted file mode 100644
index eb6c31d9aa5..00000000000
--- a/.changeset/sixty-plants-lie.md
+++ /dev/null
@@ -1,5 +0,0 @@
----
-"app-builder-lib": patch
----
-
-fix: return parent dir for local dependency
diff --git a/.changeset/smooth-roses-laugh.md b/.changeset/smooth-roses-laugh.md
deleted file mode 100644
index f3da01b070f..00000000000
--- a/.changeset/smooth-roses-laugh.md
+++ /dev/null
@@ -1,5 +0,0 @@
----
-"app-builder-lib": patch
----
-
-fix: add disableDefaultIgnoredFiles option
diff --git a/CHANGELOG.md b/CHANGELOG.md
index 796c0cb7515..e592823fda7 100644
--- a/CHANGELOG.md
+++ b/CHANGELOG.md
@@ -1,3 +1,22 @@
+# [](https://github.com/electron-userland/electron-builder/compare/v25.0.3...v) (2024-08-11)
+
+
+### Bug Fixes
+
+* add `disableDefaultIgnoredFiles` option ([#8398](https://github.com/electron-userland/electron-builder/issues/8398)) ([5ab2bee](https://github.com/electron-userland/electron-builder/commit/5ab2bee1e1db77967c65d56443f0dc79de5071da))
+* 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))
+* 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))
+* **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))
+* 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))
+* 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))
+
+
+### Features
+
+* 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))
+
+
+
# [](https://github.com/electron-userland/electron-builder/compare/v25.0.2...v) (2024-07-31)
diff --git a/docs/generated/DebOptions.md b/docs/generated/DebOptions.md
index 2812725a749..5294cfea053 100644
--- a/docs/generated/DebOptions.md
+++ b/docs/generated/DebOptions.md
@@ -1,5 +1,5 @@
-depends
Array<String> | “undefined” - Package dependencies. Defaults to ["gconf2", "gconf-service", "libnotify4", "libappindicator1", "libxtst6", "libnss3"]
. If need to support Debian, libappindicator1
should be removed, it is deprecated in Debian. If 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).
+depends
Array<String> | “undefined” - Package dependencies. Defaults to ["gconf2", "gconf-service", "libnotify4", "libappindicator1", "libxtst6", "libnss3"]
. If need to support Debian, libappindicator1
should be removed, it is deprecated in Debian. If need to support KDE, gconf2
and gconf-service
should be removed as it’s no longer used by GNOME.
recommends
Array<String> | “undefined” - The recommended package dependencies…
packageCategory
String | “undefined” - The package category.
priority
String | “undefined” - The Priority attribute.
diff --git a/packages/app-builder-lib/CHANGELOG.md b/packages/app-builder-lib/CHANGELOG.md
index e1c8114ca20..fbef3474987 100644
--- a/packages/app-builder-lib/CHANGELOG.md
+++ b/packages/app-builder-lib/CHANGELOG.md
@@ -1,5 +1,19 @@
# app-builder-lib
+## 25.0.4
+
+### Patch Changes
+
+- [#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
+
+- [#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
+
+- [#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
+
+- Updated dependencies []:
+ - dmg-builder@25.0.4
+ - electron-builder-squirrel-windows@25.0.4
+
## 25.0.3
### Patch Changes
diff --git a/packages/app-builder-lib/package.json b/packages/app-builder-lib/package.json
index fb05ed09435..a958bcf6a49 100644
--- a/packages/app-builder-lib/package.json
+++ b/packages/app-builder-lib/package.json
@@ -1,7 +1,7 @@
{
"name": "app-builder-lib",
"description": "electron-builder lib",
- "version": "25.0.3",
+ "version": "25.0.4",
"main": "out/index.js",
"files": [
"out",
diff --git a/packages/app-builder-lib/scheme.json b/packages/app-builder-lib/scheme.json
index 096d6ae0193..bff6304725c 100644
--- a/packages/app-builder-lib/scheme.json
+++ b/packages/app-builder-lib/scheme.json
@@ -566,7 +566,7 @@
"type": "null"
}
],
- "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)."
+ "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)."
},
"description": {
"description": "As [description](/configuration/configuration#Metadata-description) from application package.json, but allows you to specify different for Linux.",
diff --git a/packages/app-builder-lib/src/version.ts b/packages/app-builder-lib/src/version.ts
index 3302d276abe..0132a5d2a8d 100644
--- a/packages/app-builder-lib/src/version.ts
+++ b/packages/app-builder-lib/src/version.ts
@@ -1 +1 @@
-export const PACKAGE_VERSION = "25.0.3"
+export const PACKAGE_VERSION = "25.0.4"
diff --git a/packages/dmg-builder/CHANGELOG.md b/packages/dmg-builder/CHANGELOG.md
index 4349b3dbadc..7ac91c9e11b 100644
--- a/packages/dmg-builder/CHANGELOG.md
+++ b/packages/dmg-builder/CHANGELOG.md
@@ -1,5 +1,12 @@
# dmg-builder
+## 25.0.4
+
+### Patch Changes
+
+- 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)]:
+ - app-builder-lib@25.0.4
+
## 25.0.3
### Patch Changes
diff --git a/packages/dmg-builder/package.json b/packages/dmg-builder/package.json
index 518579b2589..2d6128fd0b1 100644
--- a/packages/dmg-builder/package.json
+++ b/packages/dmg-builder/package.json
@@ -1,6 +1,6 @@
{
"name": "dmg-builder",
- "version": "25.0.3",
+ "version": "25.0.4",
"main": "out/dmgUtil.js",
"author": "Vladimir Krivosheev",
"license": "MIT",
diff --git a/packages/electron-builder-squirrel-windows/CHANGELOG.md b/packages/electron-builder-squirrel-windows/CHANGELOG.md
index f9a624611e4..ec565a1867b 100644
--- a/packages/electron-builder-squirrel-windows/CHANGELOG.md
+++ b/packages/electron-builder-squirrel-windows/CHANGELOG.md
@@ -1,5 +1,12 @@
# electron-builder-squirrel-windows
+## 25.0.4
+
+### Patch Changes
+
+- 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)]:
+ - app-builder-lib@25.0.4
+
## 25.0.3
### Patch Changes
diff --git a/packages/electron-builder-squirrel-windows/package.json b/packages/electron-builder-squirrel-windows/package.json
index 4f3adc07bb2..4d8da583c99 100644
--- a/packages/electron-builder-squirrel-windows/package.json
+++ b/packages/electron-builder-squirrel-windows/package.json
@@ -1,6 +1,6 @@
{
"name": "electron-builder-squirrel-windows",
- "version": "25.0.3",
+ "version": "25.0.4",
"main": "out/SquirrelWindowsTarget.js",
"author": "Vladimir Krivosheev",
"license": "MIT",
diff --git a/packages/electron-builder/CHANGELOG.md b/packages/electron-builder/CHANGELOG.md
index fb9dda5662f..d837f6241fe 100644
--- a/packages/electron-builder/CHANGELOG.md
+++ b/packages/electron-builder/CHANGELOG.md
@@ -1,5 +1,13 @@
# electron-builder
+## 25.0.4
+
+### Patch Changes
+
+- 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)]:
+ - app-builder-lib@25.0.4
+ - dmg-builder@25.0.4
+
## 25.0.3
### Patch Changes
diff --git a/packages/electron-builder/package.json b/packages/electron-builder/package.json
index dbe1ead9908..3e5068713ce 100644
--- a/packages/electron-builder/package.json
+++ b/packages/electron-builder/package.json
@@ -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": "25.0.3",
+ "version": "25.0.4",
"main": "out/index.js",
"files": [
"out"
diff --git a/packages/electron-forge-maker-appimage/CHANGELOG.md b/packages/electron-forge-maker-appimage/CHANGELOG.md
index 2f42b28b69c..c6f3fe30e7e 100644
--- a/packages/electron-forge-maker-appimage/CHANGELOG.md
+++ b/packages/electron-forge-maker-appimage/CHANGELOG.md
@@ -1,5 +1,12 @@
# electron-forge-maker-appimage
+## 25.0.4
+
+### Patch Changes
+
+- 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)]:
+ - app-builder-lib@25.0.4
+
## 25.0.3
### Patch Changes
diff --git a/packages/electron-forge-maker-appimage/package.json b/packages/electron-forge-maker-appimage/package.json
index 3cdd2cb1c33..68ea0963532 100644
--- a/packages/electron-forge-maker-appimage/package.json
+++ b/packages/electron-forge-maker-appimage/package.json
@@ -1,6 +1,6 @@
{
"name": "electron-forge-maker-appimage",
- "version": "25.0.3",
+ "version": "25.0.4",
"main": "main.js",
"author": "Vladimir Krivosheev",
"license": "MIT",
diff --git a/packages/electron-forge-maker-nsis-web/CHANGELOG.md b/packages/electron-forge-maker-nsis-web/CHANGELOG.md
index d7e244a5dc9..bad66556679 100644
--- a/packages/electron-forge-maker-nsis-web/CHANGELOG.md
+++ b/packages/electron-forge-maker-nsis-web/CHANGELOG.md
@@ -1,5 +1,12 @@
# electron-forge-maker-nsis-web
+## 25.0.4
+
+### Patch Changes
+
+- 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)]:
+ - app-builder-lib@25.0.4
+
## 25.0.3
### Patch Changes
diff --git a/packages/electron-forge-maker-nsis-web/package.json b/packages/electron-forge-maker-nsis-web/package.json
index 06f16cc0256..8576a8b7457 100644
--- a/packages/electron-forge-maker-nsis-web/package.json
+++ b/packages/electron-forge-maker-nsis-web/package.json
@@ -1,6 +1,6 @@
{
"name": "electron-forge-maker-nsis-web",
- "version": "25.0.3",
+ "version": "25.0.4",
"main": "main.js",
"author": "Vladimir Krivosheev",
"license": "MIT",
diff --git a/packages/electron-forge-maker-nsis/CHANGELOG.md b/packages/electron-forge-maker-nsis/CHANGELOG.md
index 3d38a460016..077324ffd10 100644
--- a/packages/electron-forge-maker-nsis/CHANGELOG.md
+++ b/packages/electron-forge-maker-nsis/CHANGELOG.md
@@ -1,5 +1,12 @@
# electron-forge-maker-nsis
+## 25.0.4
+
+### Patch Changes
+
+- 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)]:
+ - app-builder-lib@25.0.4
+
## 25.0.3
### Patch Changes
diff --git a/packages/electron-forge-maker-nsis/package.json b/packages/electron-forge-maker-nsis/package.json
index 75ffbdb1bfc..0d012e8dce4 100644
--- a/packages/electron-forge-maker-nsis/package.json
+++ b/packages/electron-forge-maker-nsis/package.json
@@ -1,6 +1,6 @@
{
"name": "electron-forge-maker-nsis",
- "version": "25.0.3",
+ "version": "25.0.4",
"main": "main.js",
"author": "Vladimir Krivosheev",
"license": "MIT",
diff --git a/packages/electron-forge-maker-snap/CHANGELOG.md b/packages/electron-forge-maker-snap/CHANGELOG.md
index b5667a89900..d25bded2615 100644
--- a/packages/electron-forge-maker-snap/CHANGELOG.md
+++ b/packages/electron-forge-maker-snap/CHANGELOG.md
@@ -1,5 +1,12 @@
# electron-forge-maker-snap
+## 25.0.4
+
+### Patch Changes
+
+- 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)]:
+ - app-builder-lib@25.0.4
+
## 25.0.3
### Patch Changes
diff --git a/packages/electron-forge-maker-snap/package.json b/packages/electron-forge-maker-snap/package.json
index bf094846efb..b2476d1f6ee 100644
--- a/packages/electron-forge-maker-snap/package.json
+++ b/packages/electron-forge-maker-snap/package.json
@@ -1,6 +1,6 @@
{
"name": "electron-forge-maker-snap",
- "version": "25.0.3",
+ "version": "25.0.4",
"main": "main.js",
"author": "Vladimir Krivosheev",
"license": "MIT",
diff --git a/packages/electron-updater/CHANGELOG.md b/packages/electron-updater/CHANGELOG.md
index 853aa4f2977..4f366bbc21b 100644
--- a/packages/electron-updater/CHANGELOG.md
+++ b/packages/electron-updater/CHANGELOG.md
@@ -1,5 +1,15 @@
## 4.3.0
+## 6.3.3
+
+### Patch Changes
+
+- [#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`.
+
+- [#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
+
+- [#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
+
## 6.3.2
### Patch Changes
diff --git a/packages/electron-updater/package.json b/packages/electron-updater/package.json
index e70ca99ed69..b7e03c1cdcd 100644
--- a/packages/electron-updater/package.json
+++ b/packages/electron-updater/package.json
@@ -1,6 +1,6 @@
{
"name": "electron-updater",
- "version": "6.3.2",
+ "version": "6.3.3",
"description": "Cross platform updater for electron applications",
"main": "out/main.js",
"author": "Vladimir Krivosheev",
diff --git a/packages/electron-updater/src/BaseUpdater.ts b/packages/electron-updater/src/BaseUpdater.ts
index 5a8e35c7269..2109058415c 100644
--- a/packages/electron-updater/src/BaseUpdater.ts
+++ b/packages/electron-updater/src/BaseUpdater.ts
@@ -48,7 +48,7 @@ export abstract class BaseUpdater extends AppUpdater {
}
const downloadedUpdateHelper = this.downloadedUpdateHelper
-
+
// Get the installer path, ensuring spaces are escaped on Linux
// 1. Check if downloadedUpdateHelper is not null
// 2. Check if downloadedUpdateHelper.file is not null
@@ -56,11 +56,8 @@ export abstract class BaseUpdater extends AppUpdater {
// a. If the platform is Linux, replace spaces with '\ ' for shell compatibility
// b. If the platform is not Linux, use the original path
// 4. If any check fails, set installerPath to null
- const installerPath = downloadedUpdateHelper && downloadedUpdateHelper.file
- ? (process.platform === 'linux'
- ? downloadedUpdateHelper.file.replace(/ /g, '\\ ')
- : downloadedUpdateHelper.file)
- : null;
+ const installerPath =
+ downloadedUpdateHelper && downloadedUpdateHelper.file ? (process.platform === "linux" ? downloadedUpdateHelper.file.replace(/ /g, "\\ ") : downloadedUpdateHelper.file) : null
const downloadedFileInfo = downloadedUpdateHelper == null ? null : downloadedUpdateHelper.downloadedFileInfo
if (installerPath == null || downloadedFileInfo == null) {