Skip to content

Commit

Permalink
Update applications path on freedesktop
Browse files Browse the repository at this point in the history
  • Loading branch information
FreeSlave committed Apr 28, 2015
1 parent 17c37d8 commit 80ef751
Showing 1 changed file with 6 additions and 1 deletion.
7 changes: 6 additions & 1 deletion source/standardpaths.d
Original file line number Diff line number Diff line change
Expand Up @@ -741,7 +741,12 @@ version(Windows) {
paths = xdgConfigDirs();
break;
case StandardPath.Applications:
paths = ["/usr/local/share/applications", "/usr/share/applications"];
{
paths = xdgDataDirs();
foreach(ref path; paths) {
path ~= "/applications";
}
}
break;
case StandardPath.Fonts:
return fontPaths();
Expand Down

0 comments on commit 80ef751

Please sign in to comment.