From: David Z. <zol...@lr...> - 2011-02-04 18:25:22
|
Le 4 févr. 2011 à 15:51, Kevin Walzer a écrit : > Hi all, > > I've had some interest in the code I'm using to validate Mac App Store > receipts from Tcl/Tk apps and so I've posted the code here: > http://www.codebykevin.com/opensource/validatereceipt.zip. BSD license. > > Source code is included, but there is also a compiled 32/64-bit > Intel-only dylib included. > > It's very basic: it only implements receipt validation and does not > incorporate other anti-hack measures that have come to light since the > App Store went live. I based it on an earlier version of the code at > https://github.com/roddi/ValidateStoreReceipt. My reason for keeping it > very simple is that I don't have time to continually hack at it. > > Use is very easy: > > package require appstorereceipt > > appstorereceipt::validatereceipt > > If the receipt is not valid or not present, the app exits with a code of > 173 (per Apple's docs). > > I hope this is helpful! The package is also linked from my article on > preparing Tk apps for the App Store. Great! Thanks a lot for this, Kevin! -- David Zolli kr...@kr... http://www.kroc.tk |