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

(cherry picked from commit c5ed66edd73b57169ab17868705af5b0ee067fab)
This commit is contained in:
Nikita Iarychenko
2025-04-18 13:35:02 +04:00
parent 39c8676df1
commit 718055a480
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