Blob Blame History Raw
Index: wine/programs/winelauncher.in
===================================================================
RCS file: /home/wine/wine/programs/winelauncher.in,v
retrieving revision 1.2
diff -u -r1.2 winelauncher.in
--- wine/programs/winelauncher.in	5 Jul 2002 21:18:41 -0000	1.2
+++ wine/programs/winelauncher.in	26 Nov 2002 17:52:47 -0000
@@ -93,27 +93,11 @@
 
 launch_winesetup()
 {
-    which winesetup
-    if [ $? -eq 0 ] ; then
-        winesetup
-    else
-        if [ -x /opt/wine/bin/winesetup ] ; then
-            /opt/wine/bin/winesetup
-        else
-            $XMESSAGE -title "Error" \
-        "Error:  Unable to find winesetup in your PATH or in /opt/wine/bin:
-        I am not able to configure Wine.
-
-        If winesetup is being distributed in a separate package
-        that is not installed yet on your system, then please install this
-        package.
-        winesetup can also be downloaded from www.codeweavers.com.
-
-        If you choose to not use winesetup for configuration, then
-        you can find information on how to prepare a Wine config file manually
-        in the Wine README / README.gz file or in the Wine User Guide."
-        fi
-    fi
+    mkdir ~/.wine
+    cp /etc/wine/wine.conf ~/.wine/config
+    cp /etc/wine/system.reg ~/.wine/system.reg
+    cp /etc/wine/user.ref ~/.wine/user.reg
+    cp /etc/wine/userdef.reg ~/.wine/userdef.reg
 }
 
 #------------------------------------------------------------------------------
@@ -247,7 +231,7 @@
 if [ $no_args -eq 1 ] ; then
     echo "Wine called with no arguments."
     echo "Invoking $WINEBIN/$WINE_BIN_NAME $@ ..."
-    $XMESSAGE -buttons "    Okay    ":0," See the Wine Usage Statement ":1,"  Configure Wine  ":2 \
+    $XMESSAGE -buttons "    Okay    ":0," See the Wine Usage Statement ":1,"  Copy default config  ":2 \
         -title "Welcome to Wine" \
         "
 
@@ -290,14 +274,8 @@
 
 while [ $conf -eq 0 ] ; do
 
-    if [ -f ~/.winerc ] ; then
-        conf=1
-    fi
     if [ -f ~/.wine/config ] ; then
-        conf=2
-    fi
-    if [ -f /etc/wine.conf ] ; then
-        conf=3
+        conf=1
     fi
 
     if [ $conf -ne 0 ] ; then
@@ -305,7 +283,7 @@
     fi
 
     echo "No configuration file detected."
-    $XMESSAGE -buttons "    Cancel    ":0,"  Proceed   ":1,"  Configure Wine  ":2 \
+    $XMESSAGE -buttons "    Cancel    ":0,"  Proceed   ":1,"  Copy default config ":2 \
         -title "Welcome to Wine" \
         "
 
@@ -313,7 +291,7 @@
         configuration file.
 
         This is normal if you have never run Wine before.
-        If this is the case, select the 'Configure Wine'
+        If this is the case, select the 'Copy default config'
         option, below, to create a configuration file.
 
         "
@@ -461,7 +439,7 @@
         fi
 
         BUTTONS="$BUTTONS"',  Debug  :2'
-        BUTTONS="$BUTTONS"',  Configure :4'
+        BUTTONS="$BUTTONS"',  Copy default config :4'
         BUTTONS="$BUTTONS"',  Disable :3'
 
         #------------------------------------------------------------------------------