tools[1/2]: wineprefixcreate: create a freedesktop-enabled menu
directory
Vitaliy Margolen
wine-devel at kievinfo.com
Thu Aug 17 20:20:17 CDT 2006
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
More information about the wine-devel
mailing list