winemenubuilder: File associations should set wineprefix.

This commit is contained in:
Dan Kegel 2011-03-22 12:36:45 +00:00 committed by Alexandre Julliard
parent bfd69719a6
commit 94462664c5
1 changed files with 1 additions and 1 deletions

View File

@ -2242,7 +2242,7 @@ static BOOL write_freedesktop_association_entry(const char *desktopPath, const c
fprintf(desktop, "Type=Application\n");
fprintf(desktop, "Name=%s\n", friendlyAppName);
fprintf(desktop, "MimeType=%s;\n", mimeType);
fprintf(desktop, "Exec=wine start /ProgIDOpen %s %%f\n", progId);
fprintf(desktop, "Exec=env WINEPREFIX=\"%s\" wine start /ProgIDOpen %s %%f\n", wine_get_config_dir(), progId);
fprintf(desktop, "NoDisplay=true\n");
fprintf(desktop, "StartupNotify=true\n");
if (openWithIcon)