From: Eric Y. K. <eri...@gm...> - 2007-03-05 20:34:27
|
Dear (wx)Haskellers, I have recently been switching some of my GUI software to Cabal (from my clunky ad-hoc Makefiles). As you might aware, wxhaskell apps on MacOS X require the macosx-app script to be run on the executable or else the GUI doesn't respond at all; it just sits there looking pretty. (if anybody wants to fill me in on the technical details, I would be curious/interested). Attached is a Setup.lhs file which uses an install hook to run that script once you have installed your program. Note that it optionally allows to specify what script to run, in case you have a special version, which for example, attaches as icon to your app. Any comments, suggestions for improvements, simpler means of going about the same task? Thanks, -- Eric Kow http://www.loria.fr/~kow PGP Key ID: 08AC04F9 Merci de corriger mon français. |