tools: add a wrapper script for starting files from file managers and make wine.desktop use it

Vincent Povirk madewokherd+d41d at gmail.com
Wed Feb 13 18:44:15 CST 2008


This is an attempt to solve the problems with double-clicking .exe
files from file managers.

The patch adds a script named winestartfile that mimics what happens
on windows when a file is double-clicked in explorer. It starts the
file using start.exe with the full path to the file and in the
directory that contains it.

It also modifies the wine.desktop shortcut to use that script when
opening .exe files.

My previous attempt at this incorrectly ran start without giving a
full path (so that if a file named start.exe exists in the current
path, it will take precedence) and probably tried to change too many
things at once.

-- 
Vincent Povirk
-------------- next part --------------
A non-text attachment was scrubbed...
Name: 0001-tools-add-a-wrapper-script-for-starting-files-from.patch
Type: text/x-patch
Size: 4672 bytes
Desc: not available
Url : http://www.winehq.org/pipermail/wine-patches/attachments/20080213/f820b32f/attachment.bin 


More information about the wine-patches mailing list