Commit graph

8 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
Charlie Drage
514aa7f651
fix(windows uninstall): use dynamic product name for Windows registry cleanup (#15845)
fix(nsis): use dynamic product name for Windows registry cleanup

### What does this PR do?

Replaces hardcoded "Podman Desktop" string with `${PRODUCT_NAME}` variable
in the NSIS uninstaller script for registry key deletion.

### Why is this needed?

The auto-start registry entry is created by Electron using the productName
from the build config:

```typescript
// windows-startup.ts:86-90
app.setLoginItemSettings({
  openAtLogin: true,
  path: `"${this.podmanDesktopBinaryPath}"`,
  args,
});
```

The productName comes from:

```javascript
// .electron-builder.config.cjs:109
productName: product.name,
```

```json
// product.json:3
"name": "Podman Desktop",
```

electron-builder automatically defines `PRODUCT_NAME` for NSIS scripts
already (https://github.com/electron-userland/electron-builder/blob/master/packages/app-builder-lib/src/targets/nsis/NsisTarget.ts#L210):

```nsis
// installer.nsh:4-5
DeleteRegValue HKCU "...\Run" "${PRODUCT_NAME}"
DeleteRegValue HKCU "...\StartupApproved\Run" "${PRODUCT_NAME}"
```

### How to test this PR?

1. Build and install Podman Desktop on Windows
2. Enable "Start on login" in preferences
3. Uninstall the application
4. Verify registry keys are removed from:
   - `HKCU\Software\Microsoft\Windows\CurrentVersion\Run`
   - `HKCU\Software\Microsoft\Windows\CurrentVersion\Explorer\StartupApproved\Run`

Signed-off-by: Charlie Drage <charlie@charliedrage.com>
Co-authored-by: Claude Opus 4.5 <noreply@anthropic.com>
2026-02-03 17:04:41 +00: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
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
Rychart Redwerkz
84bd80152a Delete .gitkeep
Signed-off-by: Rychart Redwerkz <redwerkz@users.noreply.github.com>
2022-10-19 08:52:55 +02:00
Florent Benoit
037518067a feat: add flatpak application
Change-Id: I4c6dce9eacbd81855fefb314baecb7213b7fcc56
Signed-off-by: Florent Benoit <fbenoit@redhat.com>
2022-05-04 12:13:55 +02:00
Florent Benoit
acfd93abbf feat: new application icon
fixes https://github.com/containers/desktop/issues/70

Change-Id: I6e311922e1b25b06cfbdd296398e8d452523c0c5
Signed-off-by: Florent Benoit <fbenoit@redhat.com>
2022-04-01 15:05:29 +02:00
Florent Benoit
465bb8a493 feat: initial import 2022-03-08 17:49:35 +01:00