X-Git-Url: https://git.donarmstrong.com/?a=blobdiff_plain;f=cygwin%2Fpostinstall-lilypond.sh;h=257100cf7fe47c07358737573c1c5da5f3a3b110;hb=934b1dab73eecd49413a57e8e1dcc83289479914;hp=16f30a23975ab069f1cd393ed9803640e790e63a;hpb=3be6f4438da57b6865c4d91a79586a8f71717017;p=lilypond.git diff --git a/cygwin/postinstall-lilypond.sh b/cygwin/postinstall-lilypond.sh index 16f30a2397..257100cf7f 100644 --- a/cygwin/postinstall-lilypond.sh +++ b/cygwin/postinstall-lilypond.sh @@ -16,16 +16,6 @@ regtool add '/root/LilyPond/shell' regtool add '/root/LilyPond/shell/open' regtool add '/root/LilyPond/shell/open/command' -# old ideas - discarded for now -# regtool set '/root/LilyPond/shell/open/command/' $ROOT'\bin\python /usr/bin/lily-wins %1' -# invoking python directly does not work -# regtool set '/root/LilyPond/shell/open/command/' $ROOT'\bin\run-lily-wins.bat %1' -# we now use generated run-lily-wins.bat in / -# regtool set '/root/LilyPond/shell/open/command/' $ROOT'\run-lily-wins.bat %1' -# the direct bash route: - -# TODO: should 'open' run LilyPond? -# should 'open' also start PDF viewer? regtool set '/root/LilyPond/shell/open/command/' $ROOT'\bin\bash.exe --login -c '"'"'/usr/bin/lily-wins "%1"'"'" regtool add '/root/LilyPond/shell/edit' regtool set '/root/LilyPond/shell/edit/' '&Edit source in Notepad ...' @@ -34,26 +24,7 @@ regtool set '/root/LilyPond/shell/edit/command/' '%SystemRoot%\system32\notepad. regtool add '/root/LilyPond/shell/generate' regtool set '/root/LilyPond/shell/generate/' '&Generate PDF ...' regtool add '/root/LilyPond/shell/generate/command' -# regtool set '/root/LilyPond/shell/generate/command/' $ROOT'\bin\python /usr/bin/lily-wins %1' regtool set '/root/LilyPond/shell/generate/command/' $ROOT'\bin\bash.exe --login -c '"'"'/usr/bin/lily-wins "%1"'"'" -# static run-lily-wins.bat, does not work. -# @echo off -# rem run-lily-wins.bat - Invoke /usr/bin/lily-wins from explorer -# rem cd %~dp0% -# rem bash.exe --login -c "/usr/bin/lily-wins '%1%'" -# rem only works in Windows NT -# rem %~dp0~bin\bash.exe --login -c "/usr/bin/lily-wins '%1%'" - -# generate run-lily-wins.bat - not necessary: direct bash route -# how to handle \r\n endings? text/bin mode? -#cat > /run-lily-wins.bat <