Skip to content

Commit

Permalink
IZPACK-1690 Fixed problem with XDG shortcuts
Browse files Browse the repository at this point in the history
  • Loading branch information
ThibLind committed Nov 14, 2020
1 parent 63d13cf commit df1e45f
Showing 1 changed file with 1 addition and 1 deletion.
Expand Up @@ -1199,7 +1199,7 @@ private void createShortcuts(List<ShortcutData> shortcuts)
{
}
}
if (OsVersion.IS_UNIX)
if (!startMenuShortcuts.isEmpty() && OsVersion.IS_UNIX)
{
writeXDGMenuFile(startMenuShortcuts, getGroupName(), programGroupIconFile, programGroupComment);
}
Expand Down

0 comments on commit df1e45f

Please sign in to comment.