Commit graph

46 commits

Author SHA1 Message Date
Florent BENOIT
67b91164ae
chore(deps): update electron-builder from v26.0.12 to v26.7.0 (#16166)
* chore(deps): update electron-builder from v26.0.12 to v26.7.0

- remove the patch we had to fix background on macOS v26
- add the non @2x background else the window size is broken
(before there was a bug being fixed now)

Signed-off-by: Florent Benoit <fbenoit@redhat.com>

* chore: handle universal binaries
Signed-off-by: Florent Benoit <fbenoit@redhat.com>

* chore(builder): replace @1x DMG background (#5)

Signed-off-by: Václav Vančura <vancura@users.noreply.github.com>

---------

Signed-off-by: Florent Benoit <fbenoit@redhat.com>
Signed-off-by: Václav Vančura <vancura@users.noreply.github.com>
Co-authored-by: Václav Vančura <vancura@users.noreply.github.com>
2026-02-11 16:17:35 +01:00
ScrewTSW
53a724ac44
chore(fix): adding missing permissions compared to flathub repo (#15834)
* chore(fix): adding missing permissions compared to flathub repo

Signed-off-by: Tibor Dancs <tdancs@redhat.com>

* chore(fix): added proper commentary explaining flatpak permission

Signed-off-by: Tibor Dancs <tdancs@redhat.com>

---------

Signed-off-by: Tibor Dancs <tdancs@redhat.com>
2026-01-21 11:04:59 -05:00
axel7083
76ec5159cd
feat(extension/podman): switch to podman msi installer (#15441)
* feat(extension/podman): switch to podman msi installer

Signed-off-by: axel7083 <42176370+axel7083@users.noreply.github.com>

* revert: unnecessary change to package.json

Signed-off-by: axel7083 <42176370+axel7083@users.noreply.github.com>

---------

Signed-off-by: axel7083 <42176370+axel7083@users.noreply.github.com>
2026-01-16 13:59:49 +01:00
axel7083
f060864d2d
fix(electron-builder): bundle extensions-extra in extraResources (#15568)
* fix(electron-builder): bundle extensions-extra in extraResources

Signed-off-by: axel7083 <42176370+axel7083@users.noreply.github.com>

* fix: prettier

Signed-off-by: axel7083 <42176370+axel7083@users.noreply.github.com>

---------

Signed-off-by: axel7083 <42176370+axel7083@users.noreply.github.com>
2026-01-07 17:26:56 +01:00
Florent Benoit
6e1ca63c4b chore: bump default buffer size of calling script in electron-builder
it seems default may be too small (maybe 200kB or 1MB)
bump it to 10MB to be safe on most logs

fixes https://github.com/podman-desktop/podman-desktop/issues/15352
Signed-off-by: Florent Benoit <fbenoit@redhat.com>
2025-12-15 18:30:05 +01:00
Florent Benoit
c67f47c1c6 chore: define artifact name using product.name
default was to take package.json name
also suffix by arch.

it'll require updates on the website for 1.25.0+

Signed-off-by: Florent Benoit <fbenoit@redhat.com>
2025-12-15 10:28:11 +01:00
Florent Benoit
9b149ef85a chore: define executable name
by default electron-builder is using the package.json name and not config.appName
but only on Linux (not macOS or Windows...)

so at the end if we change some values in product.json it's not the one being applied
leading to an error while we try to call an unexisting file

fixes https://github.com/podman-desktop/podman-desktop/issues/15326

Signed-off-by: Florent Benoit <fbenoit@redhat.com>
2025-12-12 11:24:33 +01:00
axel7083
9b3012e656
feat(electron-builder): download & bundle extensions-extra from product.json (#15165)
* feat(electron-builder): download & bundle extensions-extra from product.json

Signed-off-by: axel7083 <42176370+axel7083@users.noreply.github.com>

* fix: remove unnecessary comment

Signed-off-by: axel7083 <42176370+axel7083@users.noreply.github.com>

* fix: use execFile instead of exec

Signed-off-by: axel7083 <42176370+axel7083@users.noreply.github.com>

* fix: prettier

Signed-off-by: axel7083 <42176370+axel7083@users.noreply.github.com>

* fix(electron-builder): moving the packageRemoteExtensions earlier in beforePack function

Signed-off-by: axel7083 <42176370+axel7083@users.noreply.github.com>

* chore(electron builder): print stdout and stderr for download remote extension

Signed-off-by: axel7083 <42176370+axel7083@users.noreply.github.com>

* fix: formatter

Signed-off-by: axel7083 <42176370+axel7083@users.noreply.github.com>

---------

Signed-off-by: axel7083 <42176370+axel7083@users.noreply.github.com>
2025-12-08 10:17:51 +00:00
Florent Benoit
e1fca22fc1 chore: include product.json in the final assembly
embed the file in the generated app artifact

https://github.com/podman-desktop/podman-desktop/issues/15043

Signed-off-by: Florent Benoit <fbenoit@redhat.com>
2025-11-27 22:07:58 +01:00
Florent Benoit
a59d79be98 chore: extract constants to a product.json
instead of duplicating constants, use a file

first step, as other constants could come there

related to https://github.com/podman-desktop/podman-desktop/issues/15043

Signed-off-by: Florent Benoit <fbenoit@redhat.com>
2025-11-27 17:04:02 +01:00
renner
e482c736db chore: upgrade flatpak runtime to 25.08
Signed-off-by: renner <renner0@posteo.de>
2025-11-03 14:40:22 +01:00
Denis Golovin
b53d3f6d41
fix: add windows uninstaller script to remove startup entry (#14066)
Signed-off-by: Denis Golovin <dgolovin@redhat.com>
2025-10-31 21:52:01 -07:00
Ondrej Dockal
a46458fdfd
fix: include XDG_SESSION_TYPE=x11 to flatpak build file (#14383)
* fix: include XDG_SESSION_TYPE=x11 to flatpak build file

Signed-off-by: Ondrej Dockal <odockal@redhat.com>
2025-10-14 07:48:01 +02:00
Ondrej Dockal
47e6b977ef
chore: include arm based podman installer (#13815)
* chore: include arm based podman installer

Signed-off-by: Ondrej Dockal <odockal@redhat.com>
2025-09-22 09:35:55 +02:00
Ondrej Dockal
9a8570108e
chore(build): refactor electron-builder config (#13950)
Signed-off-by: Ondrej Dockal <odockal@redhat.com>
2025-09-17 14:16:21 +00:00
Florent Benoit
3b195a4c0c chore: update notice
there is no plan to move away from Digicerts so method should not be deprecated

and keyvault != Trusted Signing so we can't use new electron builder methods

related to https://github.com/podman-desktop/podman-desktop/issues/12701
Signed-off-by: Florent Benoit <fbenoit@redhat.com>
2025-07-10 11:46:14 +02:00
Charlie Drage
2be07f110c
chore: set oneClick false and perMachine false in nsis (#12941) 2025-06-27 16:39:56 -04:00
Denis Golovin
a307a211e8 fix: remove full acces to d-bus and add missing --talk-name options
This fix removes full d-bus access and adds missing --talk-name opitons
that are present in flathub build configuration.

It fixes podman detection for flatpak built with github actions.

Fix #11937.

Signed-off-by: Denis Golovin <dgolovin@redhat.com>
2025-06-11 11:31:24 -04:00
Ondrej Dockal
260e481dd3
chore: remove notarize option from electron builder config (#12719)
Signed-off-by: Ondrej Dockal <odockal@redhat.com>
2025-06-03 06:34:50 +02:00
axel7083
0143c5ac5a
chore(deps): bump electron-builder to v26 (#12351)
* chore(deps): bump electron-builder

Signed-off-by: axel7083 <42176370+axel7083@users.noreply.github.com>

* fix: using 26.0.13

Signed-off-by: axel7083 <42176370+axel7083@users.noreply.github.com>

* fix: pnpm-lock

Signed-off-by: axel7083 <42176370+axel7083@users.noreply.github.com>

---------

Signed-off-by: axel7083 <42176370+axel7083@users.noreply.github.com>
2025-06-02 09:26:53 +00:00
Václav Vančura
9ece43b2f5
fix: new DMG background (#12418)
Signed-off-by: Václav Vančura <commit@vancura.dev>
2025-05-08 10:44:08 -04:00
Florent Benoit
f5fa90afe4 chore: generate tgz for Arm64
Signed-off-by: Florent Benoit <fbenoit@redhat.com>
2025-04-22 17:07:25 +02:00
Florent BENOIT
9673091998 revert: revert pull request 11938
This reverts commit d58134bf6c.

Signed-off-by: Florent Benoit <fbenoit@redhat.com>

Signed-off-by: Florent BENOIT <fbenoit@redhat.com>
2025-04-09 12:01:20 +02:00
Denis Golovin
d58134bf6c
fix(electorn/build): configure access to specific DBus services for flatpak (#11938)
Fix #11937.

Signed-off-by: Denis Golovin <dgolovin@redhat.com>
2025-04-01 09:10:19 -07:00
Vladyslav Zhukovskyi
ef1073f8be fix: grant access to the containers directory for the flatpak build
Signed-off-by: Vladyslav Zhukovskyi <vzhukovs@redhat.com>
2025-03-26 15:38:41 +02:00
Flori Gee
8846fd9355 feat: upgrade flatpak runtime to 24.08
Signed-off-by: Flori Gee <renner03@protonmail.com>
2025-02-11 09:27:51 +01:00
Evzen Gasta
116a192120 chore: updated image format in electron builder
Signed-off-by: Evzen Gasta <evzen.ml@seznam.cz>
2024-12-09 07:15:04 +01:00
Denis Golovin
c9fd779349 fix: rm packages/main/src/assets from extra resources to get included in app.asar
Apparently extra resources have higher priority and files included in extra resource
are getting dropped out of reqular resources included into  app.asar file.

Signed-off-by: Denis Golovin <dgolovin@redhat.com>
2024-10-22 09:06:56 -07:00
Denis Golovin
8af3761b41
feat: enable podman desktop running in electron (#8478)
* feat: enable podman desktop running in electron

This fix allows running podman-desktop in
electron as close as possible to production env.

To run podman-desktop locally with electron use command below

`yarn && yarn buld && node_modules/.bin/electron .`

The 'packages/main/src/assets' moved to app.asar file
for runtime so it works after installing podman desktop
with installer.

`yarn watch`

is not affected because app.getAppPath() returns root
of podman-desktop repository.

Signed-off-by: Denis Golovin <dgolovin@redhat.com>
2024-10-17 14:51:33 -07:00
Florent Benoit
4d5e0a09f6 chore: apply missing formatting on some files
related to https://github.com/containers/podman-desktop/issues/8970
Signed-off-by: Florent Benoit <fbenoit@redhat.com>
2024-10-11 09:13:25 +02:00
Denis Golovin
4415a62e6c
fix: use DEFAULT_ASSETS constant inside beforePack callback
Signed-off-by: Denis Golovin <dgolovin@redhat.com>
2024-10-08 14:33:44 -07:00
Denis Golovin
3d4e990759 fix: electron build config to include podman ext assets
Signed-off-by: Denis Golovin <dgolovin@redhat.com>
2024-09-30 21:55:32 -07:00
Florent Benoit
100234c940 chore: fix formatting/space/quotes
fix issues around formatting
Signed-off-by: Florent Benoit <fbenoit@redhat.com>
2024-09-23 13:28:00 +02:00
Florent Benoit
b03e80b68e chore: fix codesigning on macOS binaries
related issue: https://github.com/electron-userland/electron-builder/issues/8103

Signed-off-by: Florent Benoit <fbenoit@redhat.com>
2024-08-15 16:38:25 +02:00
Florent Benoit
6d96a5a3a7 chore: update electron builder
bump to a recent version 24.13.3 including some security fixes

Signed-off-by: Florent Benoit <fbenoit@redhat.com>
2024-08-14 10:07:49 +02:00
Adrian Riobo Lorenzo
ac950b03b7 chore: manage EnableNodeCliInspectArguments Electron Fuse by ELECTRON_ENABLE_INSPECT ENV.Fix #4127
Signed-off-by: Adrian Riobo Lorenzo <ariobolo@redhat.com>
2024-05-09 21:58:21 -06:00
Florent Benoit
70479eb58e chore: disable universal build for airgap mode on macOS
Signed-off-by: Florent Benoit <fbenoit@redhat.com>
2024-04-29 10:28:50 +02:00
Florent Benoit
0b77cf2d6b chore: use podman v5 installer by default
no more v4/v5 installation path, only v5

Also updates the airgapped archive to include the v5 one and not the v4

fixes https://github.com/containers/podman-desktop/issues/6360
Signed-off-by: Florent Benoit <fbenoit@redhat.com>
2024-04-08 18:07:51 +02:00
Florent Benoit
1bdf723e65 chore: disable fuses features
fixes https://github.com/containers/podman-desktop/issues/5402
Signed-off-by: Florent Benoit <fbenoit@redhat.com>
2024-01-03 18:42:50 +01:00
Fabrice Flore-Thébault
cd447a2472
feat: upgraded flatpak to org.freedesktop.Platform version 23.08 (#3968)
feat: upgraded flatpak to org.freedesktop.Platform version 23.08 - fixes #3966

Signed-off-by: Fabrice Flore-Thébault <ffloreth@redhat.com>
2023-11-15 11:28:50 +00:00
Fabrice Flore-Thébault
e4522dae4b
fix: adding flatpak to 'development' app category (#3911) 2023-09-19 15:03:31 +02:00
Florent Benoit
e231503025 fix: include right airgap file for Windows and arm64
related to https://github.com/containers/podman-desktop/issues/3443

Signed-off-by: Florent Benoit <fbenoit@redhat.com>
2023-08-24 09:33:31 +02:00
Florent Benoit
85f15771cc feat: add arm64 binaries for Windows
related to https://github.com/containers/podman-desktop/issues/3443

Signed-off-by: Florent Benoit <fbenoit@redhat.com>
2023-08-23 13:36:33 +02:00
Florent Benoit
d6f4844f5b feat: add support for protocol handler 'podman-desktop:'
Allow to install extensions with
`open podman-desktop:extension/redhat.openshift-local`
For example

Fixes https://github.com/containers/podman-desktop/issues/2316

Change-Id: I0a8cac2febeb6641ae78c40f7248c9f8ec30d276

Signed-off-by: Florent Benoit <fbenoit@redhat.com>
Change-Id: I9389d2ed044628e1bc145b52dbea83a02aa0d9fe
2023-06-08 15:19:48 +02:00
Florent BENOIT
f6245907a5
feat: add airgap binaries embedding the Podman images (#1120)
- on mac, it embeds the qemu FCOS binaries
- on Windows, it embeds the WSL binary

When initializing a new podman machine using airgap binaries it'll use the embedded files and not grab it from internet

There is also an optional way to provide a custom image in the create menu

Change-Id: I0b250ae2e018ff56eda1d2170fd91ab8cfc52eae
Signed-off-by: Florent Benoit <fbenoit@redhat.com>

Signed-off-by: Florent Benoit <fbenoit@redhat.com>
2023-01-10 15:56:02 -05:00
Florent Benoit
4eaed9e0b7 chore: upgrade to vite v4 and rollup v3
https://vitejs.dev/blog/announcing-vite4.html

also update vite svelte plug-in to a v4 vite compliant version

Change-Id: Ib83831ccff175b757c997a1321a2b60eb09b83e5
Signed-off-by: Florent Benoit <fbenoit@redhat.com>
2022-12-22 12:07:36 +01:00
Renamed from .electron-builder.config.js (Browse further)