lilypond-user
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: How to build LilyPond.app on macOS?


From: Davide Liessi
Subject: Re: How to build LilyPond.app on macOS?
Date: Tue, 6 Dec 2016 14:43:26 +0100

2016-12-06 14:30 GMT+01:00 Mojca Miklavec <address@hidden>:
> On 6 December 2016 at 13:38, Sven Axelsson wrote:
>> Here's some information about how OSX url handlers work:
>> http://superuser.com/questions/548119/how-do-i-configure-custom-url-handlers-on-os-x
>
> The only entry there is
>
> LSHandlerContentType com.unknown.ly
> LSHandlerRoleAll com.macromates.textmate.preview
>
> Which doesn't look like LilyPond.app responsible for opening textedit:// 
> files.
>
> Everything else is completely unrelated.

In LilyPond.app/Contents/Info.plist:

    <key>CFBundleURLTypes</key>
    <array>
        <dict>
            <key>CFBundleTypeRole</key>
            <string>Editor</string>
            <key>CFBundleURLName</key>
            <string>text editor via url</string>
            <key>CFBundleURLSchemes</key>
            <array>
                <string>textedit</string>
            </array>
            <key>NSDocumentClass</key>
            <string>TinyTinyDocument</string>
        </dict>
    </array>

You should be able to override this in
~/Library/Preferences/com.apple.LaunchServices.plist as shown in the
superuser.com page.
I didn't try, though.

Best wishes.
Davide



reply via email to

[Prev in Thread] Current Thread [Next in Thread]