[Wine] Re: Checking if Wine is being used

flyerx_2000 at yahoo.com flyerx_2000 at yahoo.com
Mon Mar 19 00:46:38 CDT 2007


Daniel Skorka wrote:
> flyerx_2000 at yahoo.com wrote:
> > The application calls a program that is available in Windows and Linux
> > but the arguments passed are not the same between versions so the
> > program has to differentiate. I will test the enviroment variable idea.
> > If it does not work I guess the user will have to select at startup
> > where the program is running from.
>
> Can't you select by where the program is located?
> path contains /bin/ -> Linux
> else -> Windows
>
> Daniel

The program path is user-selectable and your idea may work but I will
have to check that Wine is not passing the path translated to a fake z:
drive. I am not sure if the bin part of the path is kept. I am not in
Linux right now so I can't check. 

regards,

FlyerX



More information about the wine-users mailing list