Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
W
wine-cw
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-cw
Commits
bab67d39
Commit
bab67d39
authored
Apr 21, 2008
by
Alexandre Julliard
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
wineprefixcreate: Use wineboot --update to run wine.inf.
parent
e44dd0f8
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
33 deletions
+2
-33
wineprefixcreate.in
tools/wineprefixcreate.in
+2
-33
No files found.
tools/wineprefixcreate.in
View file @
bab67d39
...
...
@@ -59,7 +59,6 @@ esac
bindir
=
`
cd
"
$bindir
"
&&
pwd
`
dlldir
=
"
$bindir
/@bintodlldir@"
datadir
=
"
$bindir
/@bintodatadir@"
do_wait
=
0
quiet
=
0
...
...
@@ -79,7 +78,6 @@ then
LD_LIBRARY_PATH
=
"
$topdir
/libs/wine"
fi
export
LD_LIBRARY_PATH
datadir
=
"
$topdir
/tools"
fi
while
[
$#
-gt
0
]
...
...
@@ -122,33 +120,9 @@ else
fi
WINEPREFIX
=
`
cd
"
$WINEPREFIX
"
&&
pwd
`
# Create the drive symlinks
if
[
!
-d
"
$WINEPREFIX
/dosdevices"
]
then
mkdir
"
$WINEPREFIX
/dosdevices"
[
-d
"
$WINEPREFIX
/drive_c"
]
||
mkdir
"
$WINEPREFIX
/drive_c"
ln
-s
"../drive_c"
"
$WINEPREFIX
/dosdevices/c:"
ln
-s
"/"
"
$WINEPREFIX
/dosdevices/z:"
fi
CROOT
=
"
$WINEPREFIX
/dosdevices/c:"
# Create the directory tree
for
i
in
\
"
$CROOT
/windows"
\
"
$CROOT
/windows/inf"
do
[
-d
"
$i
"
]
||
mkdir
"
$i
"
done
# Copy the .inf script and run it
cp
"
$datadir
/wine.inf"
"
$CROOT
/windows/inf/wine.inf"
export
WINEPREFIX
"
${
WINELOADER
:-
$bindir
/wine
}
"
rundll32.exe setupapi.dll,InstallHinfSection DefaultInstall 128 wine.inf
"
${
WINELOADER
:-
$bindir
/wine
}
"
wineboot.exe
--update
# Wait for the wineserver to finish
...
...
@@ -156,8 +130,3 @@ if [ $do_wait = 1 ]
then
"
${
WINESERVER
:-
$bindir
/wineserver
}
"
-w
fi
if
[
$quiet
=
0
]
then
echo
"
$WINEPREFIX
updated successfully."
fi
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