summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'app-emulation/winex/files/winex-20020804-regedit')
-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