summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTilman Klar <phoenix@gentoo.org>2002-08-04 19:03:32 +0000
committerTilman Klar <phoenix@gentoo.org>2002-08-04 19:03:32 +0000
commitdc9f517b4829f0c07e64f51747d9824c4eabcec1 (patch)
tree6039ee9ed97ef8783a26e82ff34d1af2f886fd53 /app-emulation/winex/files
parentunmasked gift/kift/giftcurs (diff)
downloadhistorical-dc9f517b4829f0c07e64f51747d9824c4eabcec1.tar.gz
historical-dc9f517b4829f0c07e64f51747d9824c4eabcec1.tar.bz2
historical-dc9f517b4829f0c07e64f51747d9824c4eabcec1.zip
Added regedit.
Diffstat (limited to 'app-emulation/winex/files')
-rw-r--r--app-emulation/winex/files/winex-20020804-regedit23
1 files changed, 23 insertions, 0 deletions
diff --git a/app-emulation/winex/files/winex-20020804-regedit b/app-emulation/winex/files/winex-20020804-regedit
new file mode 100644
index 000000000000..3b56404d6561
--- /dev/null
+++ b/app-emulation/winex/files/winex-20020804-regedit
@@ -0,0 +1,23 @@
+#!/bin/bash
+# The wineX regapi wrapper
+
+# Kindly distributed by Martin Schlemmer
+# Modified by phoen][x
+
+export INSTALLDIR="/usr/lib/winex"
+
+export WINEPREFIX="$HOME/.winex"
+
+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