Thanks, but my program will be distributed in self-made installer (on windows), though I'm using cabal and the sources are GPL-licensed. Just for users' convenience :)
On Wed, Jan 27, 2010 at 09:42:45AM -0800, Thomas DuBuisson wrote: > Other responses have been great but if you are cabalizing you might also be > interested in: > > http://neilmitchell.blogspot.com/2008/02/adding-data-files-using-cabal.html > > Cheers, > Thomas > > On Wed, Jan 27, 2010 at 9:06 AM, Matveev Vladimir > <dpx.infin...@gmail.com>wrote: > > > Hi, > > I'm writing cross-platform application in Haskell which should be > > running under Windows and Linux. Under Linux configuration is stored > > in the /etc directory, and under Windows configuration is meant to be in > > the application directory. So, is there a way to get an application > > directory path under Windows? I remember that there is a way to do this > > using WinAPI, but how to do this Haskell? > > _______________________________________________ > > Haskell-Cafe mailing list > > Haskell-Cafe@haskell.org > > http://www.haskell.org/mailman/listinfo/haskell-cafe > > _______________________________________________ Haskell-Cafe mailing list Haskell-Cafe@haskell.org http://www.haskell.org/mailman/listinfo/haskell-cafe