You are missing the definition of shortcut at the top of the script that is defined in the base locale. It uses UNAME to determine the platorm. The user loads the script and runs shortcut which in turn runs darwin_jshortcut_ or whatever as appropriate.
On Sun, Nov 27, 2016 at 11:08 AM, Murray Eisenberg <[email protected]> wrote: > Since jqt is not automatically installed, at least not with the .zip > download for macOS, it would seem to make sense to have a separate script, > say shortcutjqt.ijs, to make a workable jqt.app. > > I tried to make such a new .ijs myself (and just for Darwin), but in > shortcut.ijs I just doh’t see any actual invocation of a verb to do > anything! All I see are definitions of verbs and nouns (shortcut, C, L, > etc., vbs, win, desktop, linux, gutter, plist, COM Darwin, darwin, jhsrun). > What am I missing? > > > OnSat, 26 Nov 2016 16:10:27 -0500, Eric Iverson < > [email protected] <mailto:[email protected]>> wrote: > > > > You are correct that shortcut.ijs just creates app folders for jconsole > and > > JHS. Doing this as an execution in the install ensures they have correct > > paths and avoid the gatekeeper stuff. I think shortcut.ijs could be > easily > > extended to include a launch icon for Jqt. I think when this settles down > > with the release the various launch bits from earlier releases that may > or > > may not work will be dropped from the release. > > > > On Sat, Nov 26, 2016 at 3:42 PM, Murray Eisenberg <[email protected] > <mailto:[email protected]>> > > wrote: > > > >> For j805-mac64.zip of 2016-11-23, on macOS Sierra (10.12.1), there are > >> still issues with apps: > >> > >> (1) After installing jqt (via “install ‘jqtide’ from J console), > >> double-clicking jqt.app does nothing and, in particular, does NOT start > jqt. > >> > >> - I can start jqt by the awkward method of showing the package > >> contents of jqt.app, navigating to Contents/MacOS, and double-clicking > >> apprun there; or, alternatively, by double-clicking jqt.command in > >> j64-805/bin. > >> > >> - in each case, this has the annoying side-effect of opening a > >> Terminal window. > >> > >> (2) Neither jcon.app nor jhs.app work (even after the usual rigamarole > of > >> right-clicking the first time to give the OS permission to open them): > >> nothing seems to happen. > >> > >> But the separate apps jc805.app and jhs805.app created by running the > >> shortcut.ijs script, per instructions at > >> > >> http://code.jsoftware.com/wiki/System/Installation/ < > http://code.jsoftware.com/wiki/System/Installation/> > >> QuickStartBase#Finish_Base_Installation <http://code.jsoftware.com/ < > http://code.jsoftware.com/> > >> wiki/System/Installation/QuickStartBase#Finish_Base_Installation> > >> > >> do work, > >> > >> From my cursory inspection of shortcut.ijs, it seems that this script > >> just recreates apps for jconsole and jhs. > >> > >> So what, exactly, is the purpose of jcon.app and jhs.app? > >> > >>> On Thu, 24 Nov 2016 14:33:58 -0500, Eric Iverson < > >> [email protected] <mailto:[email protected]> <mailto: > [email protected] <mailto:[email protected]>>> wrote: > >>> > >>> For 805 installs, especially from zip and tar.gz release packages, you > >>> might want to look at: > >>> http://code.jsoftware.com/wiki/System/Installation/QuickStartBase < > http://code.jsoftware.com/wiki/System/Installation/QuickStartBase> < > >> http://code.jsoftware.com/wiki/System/Installation/QuickStartBase < > http://code.jsoftware.com/wiki/System/Installation/QuickStartBase>> > > —— > Murray Eisenberg [email protected] > Mathematics & Statistics Dept. > Lederle Graduate Research Tower phone 240 246-7240 (H) > University of Massachusetts > 710 North Pleasant Street > Amherst, MA 01003-9305 > > > > > ---------------------------------------------------------------------- > For information about J forums see http://www.jsoftware.com/forums.htm > ---------------------------------------------------------------------- For information about J forums see http://www.jsoftware.com/forums.htm
