Isn't the answer to Neil's question to be found in the files used to
build the Windows installer.
In
http://git.savannah.gnu.org/gitweb/?p=lilypond.git;a=blob;f=nsis/lilypond-prepost.nsh;h=05f6a2e199d1f35bb930c651679f337c28c0f6dc;hb=refs/heads/gub
you will see that LilyPond is called using
"$INSTDIR\usr\bin\lilypond-windows.exe" "-dgui"
when when you double-click an .ly file or the LilyPond icon. As you can
see, it's called with the -dgui option and you can easily add more
options in the same way. I think Valentin has looked at the NSIS tool
fairly recently, when he prepared the EasyLilyPond tool, so he might be
able to help with the .nsi files if needed.
/Mats
Han-Wen Nienhuys wrote:
On Mon, Jul 28, 2008 at 4:37 PM, Neil Puttock <[EMAIL PROTECTED]> wrote:
2008/7/27 Han-Wen Nienhuys <[EMAIL PROTECTED]>:
Looks good to me.
You may want to change the default for windows.
I'm not quite sure how to achieve this; if there's a check for windows
which alters the option at runtime, how can a user override this
either in a .ly file or using the command line?
The command line options are processed in
(define-public (lilypond-main files)
"Entry point for LilyPond."
(eval-string (ly:command-line-code))
everything which comes before just sets the default.
--
=============================================
Mats Bengtsson
Signal Processing
School of Electrical Engineering
Royal Institute of Technology (KTH)
SE-100 44 STOCKHOLM
Sweden
Phone: (+46) 8 790 8463
Fax: (+46) 8 790 7260
Email: [EMAIL PROTECTED]
WWW: http://www.s3.kth.se/~mabe
=============================================
_______________________________________________
lilypond-devel mailing list
lilypond-devel@gnu.org
http://lists.gnu.org/mailman/listinfo/lilypond-devel