Welcome, Guest. Please login or register.

Author Topic: [Completed] User friendly NXT client [Mac].  (Read 200 times)

0 Members and 1 Guest are viewing this topic.

Offline newname

  • Fresh Nxter
  • *
  • Posts: 34
    • View Profile
[Completed] User friendly NXT client [Mac].
« on: December 14, 2013, 05:05:01 AM »
I ended up designing a custom application bundle for NXT.

There is good news and bad news, the total file size is 219 Mb (with JDK), obviously not going to work for developing countries but tolerable for the time being.

The good news is that this is an incredibly user friendly bundle, one click launches the NXT client, changes the JDK version temporarily and starts jetty etc etc (all in under 3 seconds)...

I built another app that installs the JDK if a new user needs it. The JDK is included in the file for new user's sake. I also have built a light weight version without the JDK (Filesize of 13.6 Mb).

Instructions:

Unzip the file and install the JDK if necessary ( Just click "JDK installer") (It will take you to the official Mac installer, with the untampered signed pkg file ready to install).

If you downloaded the "Light" version just click "Next Client" (If you get an unidentified developer prompt just {Right Click>Open}, a window in Safari will automatically open with Next present, no need to navigate to https://localhost:7875, it does it for you. I will add options for Chrome and Firefox soon. 

Version 0.05 is the easiest version to use at the moment.


Mac Client Version 0.02
 (NXT Version 3.19 Experimental)

 NXT + JDK | Filesize :219 Mb

NXT Light (JDK not included) | Filesize :13.6 Mb

In version 0.03 there is now a button which allows you the option to kill the java program.

Mac Client Version 0.03
(NXT Version 3.19 Experimental)

 NXT + JDK installer | Filesize :219.5 Mb

NXT Light (JDK not included) | Filesize :13.7 Mb

I removed the psuedo-hard-coded directory paths, no need to keep the client in a specific place, it can be moved around and run from wherever. This is an "actual" application bundle :).


Mac Client Version 0.04
 (NXT Version 3.19 Experimental)

NXT + JDK | Filesize : 206.3Mb

NXT Light (JDK not included) | Filesize : 13.9 Mb


Added a snazzy icon.


Mac Client Version 0.05
 (NXT Version 3.19 Experimental)

NXT + JDK | Filesize : 206.4Mb

NXT Light (JDK not included) | Filesize : 13.9 Mb



« Last Edit: December 14, 2013, 11:03:18 PM by newname »

Offline krisjoseph

  • Nxter
  • **
  • Posts: 82
    • View Profile
Re: [Completed] User friendly NXT client [Mac].
« Reply #1 on: December 14, 2013, 07:34:02 AM »
Mac Client Version 0.02 (JDK not included)| Filesize :13.6 Mb

http://www.filedropper.com/nxtlight (NXT Version 3.19 Experimental)

Something is funky with the light package (the only one I tried).  It's 13.6MB but when I unzip it I only see a nxt_light folder with a 99KB "Nxt Client.app" file in it.  Looking at the package contents of that file, I basically only see a launch script.

You sure you're package is working correctly?

I'm on Mavericks.
Am I helpful? Consider a donation to account 17446259404201186932

Offline newname

  • Fresh Nxter
  • *
  • Posts: 34
    • View Profile
Re: [Completed] User friendly NXT client [Mac].
« Reply #2 on: December 14, 2013, 07:50:30 AM »
Mac Client Version 0.02 (JDK not included)| Filesize :13.6 Mb

http://www.filedropper.com/nxtlight (NXT Version 3.19 Experimental)

Something is funky with the light package (the only one I tried).  It's 13.6MB but when I unzip it I only see a nxt_light folder with a 99KB "Nxt Client.app" file in it.  Looking at the package contents of that file, I basically only see a launch script.

You sure you're package is working correctly?

I'm on Mavericks.

Positive, the contents are stored as hidden files to prevent me from altering the core program... this is for your safety.

If you want to see the full contents just run these two lines in terminal concurrently...

Quote
defaults write com.apple.Finder AppleShowAllFiles YES
Quote
killall Finder

Offline krisjoseph

  • Nxter
  • **
  • Posts: 82
    • View Profile
Re: [Completed] User friendly NXT client [Mac].
« Reply #3 on: December 14, 2013, 07:57:34 AM »
Hrm.  When I run "Next Client.app" from my downloads folder, all I get is an error:

Quote
The file /Users/kris/Desktop/nxt_light/launcher.app does not exist.

Have you hard-coded a path somewhere?  Because if I unzip the package to my desktop, it works... but if I put it in ANY other folder, it does not.
Am I helpful? Consider a donation to account 17446259404201186932

Offline newname

  • Fresh Nxter
  • *
  • Posts: 34
    • View Profile
Re: [Completed] User friendly NXT client [Mac].
« Reply #4 on: December 14, 2013, 08:00:50 AM »
Hrm.  When I run "Next Client.app" from my downloads folder, all I get is an error:

Quote
The file /Users/kris/Desktop/nxt_light/launcher.app does not exist.

Have you hard-coded a path somewhere?  Because if I unzip the package to my desktop, it works... but if I put it in ANY other folder, it does not.

Just fixed it, everything is stored in the application files now. You can drag and run from anywhere.
« Last Edit: December 14, 2013, 05:22:41 PM by newname »

Offline krisjoseph

  • Nxter
  • **
  • Posts: 82
    • View Profile
Re: [Completed] User friendly NXT client [Mac].
« Reply #5 on: December 15, 2013, 10:10:34 AM »
Great stuff!

I'd like to link both this and the Windows client to the Wiki, as soon as you think they're ready!
Am I helpful? Consider a donation to account 17446259404201186932

Offline DiCE1904

  • Nxter
  • **
  • Posts: 67
    • View Profile
Re: [Completed] User friendly NXT client [Mac].
« Reply #6 on: December 15, 2013, 07:41:33 PM »
Wow! This is awesome for us mac users

great job!  ;)

Help me add more SCUM nodes
NXT: 18422382461553642657

Offline rlh

  • Fresh Nxter
  • *
  • Posts: 13
    • View Profile
Re: [Completed] User friendly NXT client [Mac].
« Reply #7 on: December 16, 2013, 05:47:11 PM »
I keep trying to download this file from filedropper, but it keeps cutting off in the middle.  I'm positive that this isn't because of my internet connection or browser.

Would you mind re-posting your links from DropBox or Copy.com?