mirror of
https://gitflic.ru/project/openide/openide.git
synced 2026-09-27 10:03:11 +07:00
OPENIDE #165 Error when creating icon via "Create Desktop Entry" action
(cherry picked from commit97e9cfefb5) (cherry picked from commitddb93b1681) (cherry picked from commita792a8b286)
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user