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
ac7a24ba
Commit
ac7a24ba
authored
May 05, 2010
by
Damjan Jovanovic
Committed by
Alexandre Julliard
May 06, 2010
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
winemenubuilder: Make desktop files executable.
parent
538b39c4
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
4 additions
and
0 deletions
+4
-0
winemenubuilder.c
programs/winemenubuilder/winemenubuilder.c
+4
-0
No files found.
programs/winemenubuilder/winemenubuilder.c
View file @
ac7a24ba
...
...
@@ -2334,6 +2334,8 @@ static BOOL InvokeShellLinker( IShellLinkW *sl, LPCWSTR link, BOOL bWait )
if
(
location
)
{
r
=
!
write_desktop_entry
(
NULL
,
location
,
lastEntry
,
escaped_path
,
escaped_args
,
escaped_description
,
work_dir
,
icon_name
);
if
(
r
==
0
)
chmod
(
location
,
0755
);
HeapFree
(
GetProcessHeap
(),
0
,
location
);
}
}
...
...
@@ -2425,6 +2427,8 @@ static BOOL InvokeShellLinkerForURL( IUniformResourceLocatorW *url, LPCWSTR link
if
(
location
)
{
r
=
!
write_desktop_entry
(
NULL
,
location
,
lastEntry
,
"winebrowser"
,
escaped_urlPath
,
NULL
,
NULL
,
NULL
);
if
(
r
==
0
)
chmod
(
location
,
0755
);
HeapFree
(
GetProcessHeap
(),
0
,
location
);
}
}
...
...
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