winemenubuilder: File associations should set wineprefix.
This commit is contained in:
parent
bfd69719a6
commit
94462664c5
|
@ -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)
|
||||
|
|
Loading…
Reference in New Issue