Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
W
wine-winehq
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Registry
Registry
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
wine
wine-winehq
Commits
9ce6ff26
Commit
9ce6ff26
authored
Apr 12, 2004
by
Vincent Béron
Committed by
Alexandre Julliard
Apr 12, 2004
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Remove "Path" lines from sample config.
Setup the links for the default DOS drives in wineinstall.
parent
23a1c12d
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
8 additions
and
11 deletions
+8
-11
config
documentation/samples/config
+0
-6
wineinstall
tools/wineinstall
+8
-5
No files found.
documentation/samples/config
View file @
9ce6ff26
...
...
@@ -14,30 +14,24 @@ WINE REGISTRY Version 2
;; "Device"="/dev/xx" (only if you want to allow raw device access)
;;
[Drive A]
"Path" = "/mnt/fd0"
"Type" = "floppy"
"Device" = "/dev/fd0"
[Drive C]
"Path" = "/c"
"Type" = "hd"
[Drive D]
"Path" = "/cdrom"
"Type" = "cdrom"
; make sure that device is correct and has proper permissions !
"Device" = "/dev/cdrom"
[Drive E]
"Path" = "/tmp"
"Type" = "hd"
[Drive F]
"Path" = "%HOME%"
"Type" = "network"
[Drive Z]
"Path" = "/"
"Type" = "hd"
[wine]
...
...
tools/wineinstall
View file @
9ce6ff26
...
...
@@ -525,7 +525,7 @@ then {
# create $LCONF using the default config file $WINEINI
if
[
"
$DOLOCALCONF
"
=
'yes'
]
then
{
sed
"s|
\"
Path
\"
=
\"
/c
\"\$
|
\"
Path
\"
=
\"
${
CROOT
}
\"
|"
$WINEINI
>
$TMPCONF
cp
$WINEINI
$TMPCONF
conf_reset_question default_config
conf_question low default_config
\
"Created
$LCONF
using default Wine configuration."
\
...
...
@@ -547,6 +547,7 @@ then
if
[
!
-w
~/.wine
]
then
mkdir
~/.wine
mkdir
~/.wine/dosdevices
fi
cp
$TMPCONF
$LCONF
>
/dev/null
else
...
...
@@ -599,15 +600,18 @@ then {
echo
"Preparing to install default Wine registry entries..."
# Make sure we are on a Windows drive
mv
$LCONF
$LCONF
.orig
sed
"s/
\"
Path
\"
=
\"
%HOME%
\"
$/
\"
Path
\"
=
\"
%PWD%
\"
/"
$LCONF
.orig>
$LCONF
ln
-s
/mnt/fd0 ~/.wine/dosdevices/a:
ln
-s
$CROOT
~/.wine/dosdevices/c:
ln
-s
/cdrom ~/.wine/dosdevices/d:
ln
-s
/tmp ~/.wine/dosdevices/e:
ln
-s
~ ~/.wine/dosdevices/f:
ln
-s
/ ~/.wine/dosdevices/z:
echo
"Installing default Wine registry entries..."
echo
if
!
$RUNDLL32
setupapi.dll,InstallHinfSection DefaultInstall 128
$INFSCRIPT
>
/dev/null
then
{
echo
"Registry install failed."
mv
$LCONF
.orig
$LCONF
conf_reset_question regedit_error
conf_question high regedit_error
exit
1
...
...
@@ -615,7 +619,6 @@ then {
else
{
echo
echo
"Registry entries successfully installed."
mv
$LCONF
.orig
$LCONF
}
fi
if
[
"
$SYSREG
"
=
'auto'
]
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment