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)
This commit is contained in:
Nikita Iarychenko
2026-03-12 14:18:09 +04:00
parent 8417785159
commit 96bee1f657
2 changed files with 2 additions and 2 deletions
@@ -157,7 +157,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"));
}
@@ -76,7 +76,7 @@ import kotlin.io.path.extension
import kotlin.math.roundToInt
import java.lang.Boolean.getBoolean as getBooleanSystemProperty
private const val VENDOR_PREFIX = ""
private const val VENDOR_PREFIX = "openide-"
private var appIcons: MutableList<Image?>? = null
@Volatile