It should be the case that if you have a .zip file, double-clicking it will 
unzip it.

If you unzip it into a .wdgt (directory with the required bits), 
double-clicking that will ask you if you want to install it in your dashboard.

So, I think all you are missing is that the deployer should name the zip file 
.zip not .wdgt

http://developer.apple.com/macosx/dashboard.html

On 2010-09-29, at 13:00, Henry Minsky wrote:

> I really need to find out if there is something in OSX that understands how
> to install the widget if it
> is still in a zipped archive format. I could only get it to install after
> manually unzipping.
> 
> I guess one obvious thing is that if I can't figure out how to make OSX
> install a zipped file,
> I should give the zip archive a filename of "unzip-me.zip" or something,
> and  have it extract all content into a single directory named
> "appname.wdgt" so at least that part is automatic.
> 
> I'll make a patch to do this, and have it give an explanation on the
> download page.
> 
> On Wed, Sep 29, 2010 at 12:56 PM, Max Carlson <[email protected]> wrote:
> 
>> Nevermind.  I had to unzip the file, then rename the _folder_ to have the
>> .wdgt extension.  I'm not sure how anyone is supposed to figure this out...
>> Approved, if you add documentation explicitly calling this out to the final
>> screen.
>> 
>> 
>> On 9/28/10 10:29 AM, Henry Minsky wrote:
>> 
>>> Change hqm-20100928-Gl3 by [email protected] on 2010-09-28 12:25:11
>>> EDT
>>>    in /Users/hqm/openlaszlo/trunk-clean
>>>    for http://svn.openlaszlo.org/openlaszlo/trunk
>>> 
>>> Summary: add support for OSX Dashboard Widget creation
>>> 
>>> New Features:
>>> 
>>> Bugs Fixed:
>>> 
>>> Technical Reviewer: max
>>> QA Reviewer: ptw
>>> Doc Reviewer: (pending)
>>> 
>>> Documentation:
>>> 
>>> Release Notes:
>>> 
>>> Overview:
>>> 
>>> Add support for generating OSX dashboard widget format for HTML5 apps
>>> 
>>> 
>>> Details:
>>> 
>>> Write out Info.plist file and Default.png and Icon.png files into archive.
>>> 
>>> Note: we could also support SWF apps maybe, if we use specify the optional
>>> plugin info in
>>> the plist file.
>>> 
>>> 
>>> Tests:
>>> 
>>> + load
>>> http://localhost:8080/trunk-clean/examples/contactlist/contactlist.lzx?lzoptions=runtime(dhtml)<http://localhost:8080/trunk-clean/examples/contactlist/contactlist.lzx?lzoptions=runtime%28dhtml%29>
>>> 
>>> + Click SOLO deploy button, select Apple Dashboard Widget as output format
>>> 
>>> + download the zip file, and unzip into a directory named
>>> ~/Library/Widgets/OLContacts.wdgt
>>> 
>>> + double click the OLContacts.wdgt file in the finder to install dashboard
>>> widget
>>> 
>>> 
>>> Files:
>>> M       WEB-INF/lps/server/src/org/openlaszlo/utils/DeployUtils.java
>>> M       lps/admin/solo-deploy.jsp
>>> M       lps/admin/solo-dhtml-deploy.jsp
>>> 
>>> 
>>> Changeset:
>>> http://svn.openlaszlo.org/openlaszlo/patches/hqm-20100928-Gl3.tar
>>> 
>> 
> 
> 
> -- 
> Henry Minsky
> Software Architect
> [email protected]


Reply via email to