fix installer error on linux, shortcut path not existing on a fresh account

This commit is contained in:
Basile Burg 2015-09-25 05:58:47 +02:00
parent 17baff8aa3
commit de847b4060
1 changed files with 1 additions and 0 deletions

View File

@ -268,6 +268,7 @@ bool tryRemove(string fname)
version(linux) void nuxPostInstall()
{
mkdirRecurse(shortCutPath);
File f = new File(shortCutPath ~ "coedit.desktop", FileMode.OutNew);
f.writeLine("[Desktop Entry]");
f.writeLine("Name=coedit");