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
d654f94f
Commit
d654f94f
authored
Oct 29, 2000
by
Lionel Ulmer
Committed by
Alexandre Julliard
Oct 29, 2000
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Added a '-inifile' option to specify the location of the wine.ini file
used in the building of the new wine.ini file.
parent
7493eada
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
7 additions
and
2 deletions
+7
-2
wineconf
tools/wineconf
+7
-2
No files found.
tools/wineconf
View file @
d654f94f
...
...
@@ -47,7 +47,7 @@ use File::Basename;
use
strict
;
use
Carp
;
GetOptions
(
'windir=s'
,
'sysdir=s'
,
'thorough'
,
'debug:s'
)
||
&
Usage
;
GetOptions
(
'windir=s'
,
'sysdir=s'
,
'thorough'
,
'debug:s'
,
'inifile=s'
)
||
&
Usage
;
&
ReadFSTAB
();
&
FindWindowsDir
();
...
...
@@ -60,6 +60,7 @@ sub Usage {
print
"-windir <filename> Location of windows dir in DOS space\n"
;
print
"-thorough Do careful analysis (default)\n"
;
print
"-sysdir <filename> Location of systems dir in DOS space\n"
;
print
"-inifile <filename> Path to the wine.ini file (by default './wine.ini')\n"
;
# print "-tmpdir <filename> Location of tmp directory\n";
print
"Generates (to STDOUT) a wine configuration file based on\n"
;
print
"/etc/fstab and searching around in DOS directories\n"
;
...
...
@@ -425,7 +426,11 @@ sub InsertDefaultFile {
}
sub
StandardStuff
{
&
InsertDefaultFile
(
"./wine.ini"
,
"wineconf"
);
if
(
!
$::opt_inifile
)
{
&
InsertDefaultFile
(
"./wine.ini"
,
"wineconf"
);
}
else
{
&
InsertDefaultFile
(
$::opt_inifile
,
"wineconf"
);
}
}
sub
byFileAge
{
...
...
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