blob: 129bba0ab047c5971d026c1ba7c9a7340e188d1b (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
|
#!/bin/bash
# The wine regapi wrapper
export INSTALLDIR="/usr/lib/wine"
export WINEPREFIX="$HOME/.wine"
export LD_LIBRARY_PATH="$INSTALLDIR/lib/wine:$INSTALLDIR/lib:$LD_LIBRARY_PATH"
export WINEDLLPATH="$LD_LIBRARY_PATH"
export WINE_LOADER=wine
export RUNWINE="$INSTALLDIR/bin/wine"
export REGAPI="$INSTALLDIR/bin/regapi"
if([ -z ${1} ]) then
echo "Usage: regedit foo.reg"
else
"$REGAPI" setValue < ${1} &> /dev/null
fi
|