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

(cherry picked from commit 97e9cfefb5)
This commit is contained in:
Nikita Iarychenko
2025-04-18 13:35:02 +04:00
parent 71aa4d1835
commit 9237d54f48
2 changed files with 2 additions and 2 deletions

View File

@@ -146,7 +146,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"));
}

View File

@@ -58,7 +58,7 @@ import javax.swing.JComponent
import javax.swing.border.Border
import kotlin.math.roundToInt
private const val VENDOR_PREFIX = ""
private const val VENDOR_PREFIX = "openide-"
private var appIcons: MutableList<Image?>? = null
@Volatile