Thursday, August 17, 2006, 2:08:25 PM, Mikolaj Zalewski wrote:
When creating the wineprefix, create a directory for the menu and a configuration file that enables this menu in the freedesktop.org menu structure. As suggested on wine-devel the menu directory is a subdirectory of ~/.wine, so if the user deletes it, all menu items created there will be automatically removed.
+<Name>Applications</Name>
<Menu>
<Name>Wine</Name>
<LegacyDir>__HOME__/.wine/menu</LegacyDir>
</Menu>
+</Menu>
Why are you hard-coding this path to being .wine? You correctly used $WINEPREFIX before.
Also that means that you should add files that are WINEPREFIX related. Or you will keep overwriting the other ones.
Vitaliy Margolen