Lion problem report and fix

Josh Mellicker josh at dvcreators.net
Thu Jul 21 20:30:36 EDT 2011


On Jul 21, 2011, at 4:08 PM, Richard Gaskin wrote:

> Josh Mellicker wrote:
> 
>> On Jul 21, 2011, at 3:14 PM, Mark Schonewille wrote:
>> 
>>> Hi Josh,
>>> 
>>> That's seems normal, since /Library isn't a user folder. Are you sure this is Lion-specific?
>> 
>> Yes, at least with all the copies of Lion we've encountered so far.
> 
> Is it any different in Snow Leopard?


Yes:

In Snow Leopard and previous:

1. the Livecode command "create folder" WORKS in /Library/Application Support/
	(note this is not in the user folder)

2. files CAN be downloaded to folders within that folder

(As Richard noted, this is when the current logged in user is the admin user, which for us is 99.9% of the time)



In Lion:

1. the Livecode command "create folder" does NOT work in /Library/Application Support/
	(but executing a shell command sudo mkdir does work)

2. files can NOT be downloaded to folders within that folder
	(but after a shell command changing permissions to 777, this fixes it)


---

On the topic of "where do we put stuff (needed support files) in OS X", I remember Ken Ray had a great article on this… we decided on /Library/Application Support/, it has been working great until yesterday :-)

We are now changing on OS X so that support files will be downloaded and housed inside the Mac application package in the Applications directory.)

----

[OT] By the way, many people write web apps in Javascript, HTML5, PHP, etc., and have nightmares about browser incompatibilities, while we are very happy to write desktop apps in Livecode that are far faster to develop and offer a much better user experience. (In a sane world 95% of developers would work in Livecode and only the crazy few would deal with writing web apps.)

However, there's always the client objection of "we don't want to make the user install an app". (Whereas the same clients feel it's fine to require the user to install Silverlight, Adobe AIR, a new version of the Flash plugin, a Java app, or some other plugin to use their web app)

So, Ken Ray wrote us some ultra-cool installers that make installing our app faster and easier than any of the browser plugin, effectively making a Livecode app just as easy for the user, if not easier than many web applications. If you want an awesome installation experience, Ken is your guy!

So, think "Beyond the Browser" (R. Gaskin quote), the web is dead, we are now in the Age of the App!



More information about the use-livecode mailing list