Magellan Linux

Annotation of /trunk/cedega/cedega-regedit

Parent Directory Parent Directory | Revision Log Revision Log


Revision 153 - (hide annotations) (download)
Tue May 8 20:52:56 2007 UTC (17 years ago) by niro
File size: 510 byte(s)
-import

1 niro 153 #!/bin/bash
2     # The wineX regapi wrapper
3    
4     # Kindly distributed by Martin Schlemmer
5     # Modified by phoen][x
6    
7     export INSTALLDIR="/usr/lib/cedega"
8    
9     export WINEPREFIX="$HOME/.cedega"
10    
11     export LD_LIBRARY_PATH="$INSTALLDIR/lib/wine:$INSTALLDIR/lib:$LD_LIBRARY_PATH"
12     export WINEDLLPATH="$LD_LIBRARY_PATH"
13    
14     export WINE_LOADER=wine
15    
16     export RUNWINE="$INSTALLDIR/bin/wine"
17     export REGAPI="$INSTALLDIR/bin/regapi"
18    
19     if([ -z ${1} ]) then
20     echo "Usage: regedit-winex-cvs foo.reg"
21     else
22     "$REGAPI" setValue < ${1} &> /dev/null
23     fi