> On Apr 9, 2015, at 8:34 AM, Florent Daigniere <nextgens at 
> freenetproject.org> wrote:
> 
> On Thu, 2015-04-09 at 13:44 +0200, Florent Daigniere wrote:
>>>> I’m reading up tonight on Oracle & Apple’s documentation on packaged
>>>> releases.
>>> 
>>> Sounds good. Thoughts on JNLP versus App packaging? In my experience
>>> with Yosemite downloading a JNLP doesn't run it, and doesn't give
>>> instructions to install Java if it's not installed. Oracle's app
>>> packaging with a standalone JRE provided that it keeps itself up to date.
>> 
>> We have most of the code to produce an App already in:
>> https://github.com/freenet/java_installer/commit/366e746709fc1bbaab5aa6c736fb7fd11968ca40
>> 
>> "ant bundle" to produce one
>> 
>> Contrary to JNLP, we can't use our code-signing cert (we'll have to get
>> an Apple developer one)... so there's a cert-warning popping up when you
>> open it with Finder..
>> 
>> As for which one we use I guess we can auto-detect whether the browser
>> has the java plugin enabled or not and pick either JNLP or App using
>> javascript (like we do for other platforms).
> 
> For the mac users who want to try it out:
> https://downloads.freenetproject.org/~nextgens/installer/Freenet.app.zip
> 
> Florent



Hi Florent,

I just tried the app and it installed without error.

It may be useful to distribute the file as dmg that turns into an app.  
Currently it’s an app that creates a directory.  I think this is not what an 
OS X user expects.

The average user would take Freenet.app and copy it over to ~/Applications and 
think it’s installed.  In this case it’s not.  Freenet.app creates a 
freenet directory and installs FreenetTray.app.  So now the user has three 
items in their applications directory.  The one the user thinks is Freenet 
isn’t.  It’s just an installer.  I think the desired behavior is to only 
have two.

Can we make Freenet.app an actual bundle?  They click on the dmg and the app 
goes into ~/applications.  Maybe less confusing to the user and would allow os 
specific features like being able to drag the “.app” to the dock, etc.  
What do you think?

If you want me to hack around on anything let me know.  I have a couple of free 
days next week.

Thanks,

Eric C

Reply via email to