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
2f6896b1
Commit
2f6896b1
authored
Mar 21, 2019
by
Vincent Povirk
Committed by
Alexandre Julliard
Mar 25, 2019
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
appwiz.cpl: Search /opt/wine for addons.
Signed-off-by:
Vincent Povirk
<
vincent@codeweavers.com
>
Signed-off-by:
Alexandre Julliard
<
julliard@winehq.org
>
parent
46400814
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
3 additions
and
0 deletions
+3
-0
addons.c
dlls/appwiz.cpl/addons.c
+3
-0
No files found.
dlls/appwiz.cpl/addons.c
View file @
2f6896b1
...
@@ -330,6 +330,8 @@ static enum install_res install_from_default_dir(void)
...
@@ -330,6 +330,8 @@ static enum install_res install_from_default_dir(void)
ret
=
install_from_unix_file
(
INSTALL_DATADIR
"/wine/"
,
addon
->
subdir_name
,
addon
->
file_name
);
ret
=
install_from_unix_file
(
INSTALL_DATADIR
"/wine/"
,
addon
->
subdir_name
,
addon
->
file_name
);
if
(
ret
==
INSTALL_NEXT
&&
strcmp
(
INSTALL_DATADIR
,
"/usr/share"
))
if
(
ret
==
INSTALL_NEXT
&&
strcmp
(
INSTALL_DATADIR
,
"/usr/share"
))
ret
=
install_from_unix_file
(
"/usr/share/wine/"
,
addon
->
subdir_name
,
addon
->
file_name
);
ret
=
install_from_unix_file
(
"/usr/share/wine/"
,
addon
->
subdir_name
,
addon
->
file_name
);
if
(
ret
==
INSTALL_NEXT
)
ret
=
install_from_unix_file
(
"/opt/wine/"
,
addon
->
subdir_name
,
addon
->
file_name
);
return
ret
;
return
ret
;
}
}
...
@@ -794,6 +796,7 @@ BOOL install_addon(addon_t addon_type)
...
@@ -794,6 +796,7 @@ BOOL install_addon(addon_t addon_type)
* - $datadir/$addon_subdir/
* - $datadir/$addon_subdir/
* - $INSTALL_DATADIR/wine/$addon_subdir/
* - $INSTALL_DATADIR/wine/$addon_subdir/
* - /usr/share/wine/$addon_subdir/
* - /usr/share/wine/$addon_subdir/
* - /opt/wine/$addon_subdir/
* - download from URL stored in $url_config_key value of HKCU/Software/Wine/$config_key key
* - download from URL stored in $url_config_key value of HKCU/Software/Wine/$config_key key
*/
*/
if
(
install_from_registered_dir
()
==
INSTALL_NEXT
if
(
install_from_registered_dir
()
==
INSTALL_NEXT
...
...
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