Use wine32, as this fits my needs better

This commit is contained in:
Anna Rose 2010-07-11 22:00:01 -04:00
parent 2138403d5e
commit eea3741ccb

9
wino
View File

@ -1,4 +1,4 @@
#!/usr/bin/perl
#!/usr/bin/perl -s
#
# wino v git
#
@ -27,6 +27,9 @@ my $HELP_MSG = "wino v $VERSION\n\tusage: wino --list | <prefix> [options] [comm
"--trick <options>\tRun winetricks with the specified options\n" .
"--regedit\t\tRun regedit for the container\n";
my $winecmd = 'wine32';
foreach (@ARGV)
{
die $HELP_MSG if (/^(--help)|(-h)$/);
@ -67,7 +70,7 @@ my $container_path = "$WINO_DIR/$prefix";
if ($command eq '--config')
{
# Run winecfg on the container
exec "WINEPREFIX=$container_path winecfg"
exec "WINEPREFIX=$container_path $winecmd winecfg"
}
elsif ($command eq '--default')
{
@ -110,5 +113,5 @@ else
$command .= ' ' . join(' ', @ARGV);
}
exec "WINEPREFIX=$container_path wine \"$command\"";
exec "WINEPREFIX=$container_path $winecmd \"$command\"";
}