From 4734d384f0caf3f000e02e87102a967e5cad4103 Mon Sep 17 00:00:00 2001 From: JakobDev Date: Wed, 8 Apr 2026 17:31:23 +0200 Subject: [PATCH] Electron: Replace patch-desktop-filename with patch-electron-desktop-filename --- docs/electron.rst | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/docs/electron.rst b/docs/electron.rst index 5f10bc51..13d38533 100644 --- a/docs/electron.rst +++ b/docs/electron.rst @@ -174,7 +174,8 @@ It's important for Linux applications to set the correct desktop file name. If n By default Electron uses ``{appname}.desktop`` as desktop file name. In Flatpak the name of the desktop file must be the id of the Flatpak. To tell Electron to use another name you need to set the ``desktopName`` key in your ``package.json`` e.g. ``"desktopName": "com.example.MyApp.desktop"``. -In case you repack a binary, you can use the ``patch-desktop-filename`` script provided by the BaseApp. Each Electron binary ships with ``resources/app.asar`` file. +In case you repack a binary, you can use the `patch-electron-desktop-filename `_ tool included in the BaseApp. +Each Electron binary ships with ``resources/app.asar`` file. You need to call ``patch-desktop-filename`` with this file as argument. If your application is installed under ``${FLATPAK_DEST}/my-app`` you need to run ``patch-desktop-filename ${FLATPAK_DEST}/my-app/resources/app.asar``.