OPENIDE #165 Error when creating icon via "Create Desktop Entry" action

(cherry picked from commit 97e9cfefb5)
(cherry picked from commit ddb93b1681)
(cherry picked from commit a792a8b286)
(cherry picked from commit 96bee1f657)
This commit is contained in:
Nikita Iarychenko
2026-08-11 12:43:36 +04:00
parent dd92989f16
commit 083c920be9
2 changed files with 2 additions and 2 deletions
@@ -161,7 +161,7 @@ public final class CreateDesktopEntryAction extends DumbAwareAction implements A
var script = ExecUtil.createTempExecutableScript(
"create_desktop_entry_", ".sh",
"#!/bin/sh\n" +
"xdg-desktop-menu install --novendor --mode system '" + entryFile + "' && xdg-desktop-menu forceupdate --mode system\n");
"xdg-desktop-menu install --mode system '" + entryFile + "' && xdg-desktop-menu forceupdate --mode system\n");
try {
exec(new GeneralCommandLine(script.getPath()), ApplicationBundle.message("desktop.entry.sudo.prompt"));
}
@@ -82,7 +82,7 @@ import kotlin.math.roundToInt
@OptIn(LowLevelLocalMachineAccess::class)
object AppUIUtil {
private const val VENDOR_PREFIX = ""
private const val VENDOR_PREFIX = "openide-"
private const val MAC_DOCK_ICON_BORDER = 25
private var appIcons: List<Image>? = null
private val isMacDocIconSet = AtomicBoolean(false)