mirror of
https://gitflic.ru/project/openide/openide.git
synced 2025-12-13 06:59:44 +07:00
OPENIDE #165 Error when creating icon via "Create Desktop Entry" action
(cherry picked from commit c5ed66edd73b57169ab17868705af5b0ee067fab)
This commit is contained in:
@@ -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"));
|
||||
}
|
||||
|
||||
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user