autopkg / mosen-recipes

Recipes for osx application update management
MIT License
12 stars 20 forks source link

Lightroom download doesn't work with v6 #7

Open hansen-m opened 9 years ago

hansen-m commented 9 years ago

It looks like your Lightroom download recipe doesn't work with the latest version of Lightroom.

I haven't had time to dig into it but I was just wondering if you were planning on updating it?

Version 5 is hardcoded...

            <string>LightroomURLProvider</string>
            <key>Arguments</key>
            <dict>
                <key>major_version</key>
                <string>5</string>
            </dict>

But after updating it to use '%VERSION%', this is the error I saw...

autopkg run -v Lightroom.download --key VERSION=6
Processing Lightroom.download...
LightroomURLProvider
Can't get Lightroom download URL from product site.
Failed.
Receipt written to /Users/mah60/Library/AutoPkg/Cache/com.github.mosen.download.Lightroom/receipts/Lightroom-receipt-20150630-120459.plist

The following recipes failed:
    Lightroom.download
        Error in com.github.mosen.download.Lightroom: Processor: LightroomURLProvider: Error: Can't get Lightroom download URL from product site.

Nothing downloaded, packaged or imported.
mosen commented 9 years ago

Sorry, I didn't update it because we were using a CC subscription. I'll have a look today and see if i can figure out the problem.

timsutton commented 9 years ago

Lightroom 6 / CC 2015 is folded into the CC line and has changed their payload from a vanilla Apple pkg to RIBS, the same system used by the other Adobe CC apps. So, even if one could obtain the new CC version from somewhere (perhaps a trial download), it would probably be not much use for general deployment. (Though this does mean that aamporter can now fetch and import the patch updates to Lightroom).