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) (cherry picked from commit96bee1f657)
This commit is contained in:
@@ -161,7 +161,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"));
|
||||
}
|
||||
|
||||
@@ -82,7 +82,7 @@ import kotlin.math.roundToInt
|
||||
|
||||
@OptIn(LowLevelLocalMachineAccess::class)
|
||||
object AppUIUtil {
|
||||
private const val VENDOR_PREFIX = ""
|
||||
private const val VENDOR_PREFIX = "openide-"
|
||||
private const val MAC_DOCK_ICON_BORDER = 25
|
||||
private var appIcons: List<Image>? = null
|
||||
private val isMacDocIconSet = AtomicBoolean(false)
|
||||
|
||||
Reference in New Issue
Block a user