xfce-winxp-tc icon indicating copy to clipboard operation
xfce-winxp-tc copied to clipboard

Add special support for launching .exe files

Open rozniak opened this issue 2 years ago • 1 comments

Would be nice to provide special support for handling .exe files to the TC, in the sense that they should launch like a native application - assist the user in a 'Windows way' if it's not possible for some reason.

Thoughts:

  • Probably need to detect whether the .exe is a native Windows program, or a .NET program to decide whether to launch using wine or mono
  • When launching, if wine or mono are not present, prompt the user in a friendly way to install whatever is necessary to get the program running

There might be other things to consider, but this is one of those things that I think add up to the 'XP feel' that the TC should have.

rozniak avatar Mar 19 '22 20:03 rozniak

Other things to consider:

  • Where should this be implemented? I'm thinking it probably makes sense for the bulk of the code to go in libwintc-exec (detecting .NET/native, can sit in with the launcher code)
  • Maybe also have a little stub program to handle the MIME type for Windows programs to call the launch code in the library
  • How to handle installation? May have to think about some package management stuff - probably needs its own lib (have thought about this already in my head)

rozniak avatar Mar 19 '22 20:03 rozniak