Skip to content

Commit e641751

Browse files
authored
fix(electron-updater): allow forceDevUpdateConfig also on Linux (#9024)
1 parent 7156cd0 commit e641751

File tree

2 files changed

+6
-1
lines changed

2 files changed

+6
-1
lines changed

.changeset/shaggy-teachers-relax.md

+5
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
---
2+
"electron-updater": patch
3+
---
4+
5+
fix: allow forceDevUpdateConfig also on Linux

packages/electron-updater/src/AppImageUpdater.ts

+1-1
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@ export class AppImageUpdater extends BaseUpdater {
1616
}
1717

1818
public isUpdaterActive(): boolean {
19-
if (process.env["APPIMAGE"] == null) {
19+
if (process.env["APPIMAGE"] == null && !this.forceDevUpdateConfig) {
2020
if (process.env["SNAP"] == null) {
2121
this._logger.warn("APPIMAGE env is not defined, current application is not an AppImage")
2222
} else {

0 commit comments

Comments
 (0)