Omnis Mac - Packages - Create Alias
Alex Clay
aclay at mac.com
Fri Sep 29 15:56:04 EDT 2017
Hi Michael,
You create the script in any text editor, then drag it into packages. You might need to set the execute permission on the script, but I think Packages cand o that for you.
You can see an example on my sample Packages project for Omnis apps:
https://github.com/barkingfoodog/omnis-pkg <https://github.com/barkingfoodog/omnis-pkg>
And my apologies—it's postinstall, not postflight. Must be Friday!
Alex
> On Sep 29, 2017, at 15:52, Michael Mantkowski <michaelj at clientrax.com> wrote:
>
> Hmmm,
>
> Is there an application for creating those?
>
> Sorry, I don't know what a "post-flight bash" is.
>
> *********************************************************************
> Michael Mantkowski
> ClienTrax Software
> 1-614-875-2245
> *********************************************************************
>
>
> -----Original Message-----
> From: omnisdev-en [mailto:omnisdev-en-bounces at lists.omnis-dev.com] On Behalf
> Of Alex Clay
> Sent: Friday, September 29, 2017 3:45 PM
> To: OmnisDev List - English <omnisdev-en at lists.omnis-dev.com>
> Subject: Re: Omnis Mac - Packages - Create Alias
>
> Hi Michael,
>
> You could add a post-flight bash script and create a symbolic link:
>
>> #!/usr/bin/env bash
>> ln -s /Applications/ClienTrax/lib.lbs ~/Desktop/Open\ ClienTrax
>
> Alex
>
>> On Sep 29, 2017, at 15:41, Michael Mantkowski <michaelj at clientrax.com>
> wrote:
>>
>> I am making fine progress with an installer for my application with
> Packages on the Mac.
>>
>> When the install is done I would like to create an Alias for my library,
> put it on the desktop and start Omnis with my main library for the first
> time so that it can ask for Serialization.
>>
>> I was able to create a script with script editor to do this. But it does
> not work correctly in the installer. Then I read in Packages Help that
> using Script Editor scripts is not recommended because of unpredictable
> results. (Well I guess they know what they are talking about...)
>>
>> Does anyone have a method of doing what I am looking for?
>>
>> *********************************************************************
>> Michael Mantkowski
>> ClienTrax Software
>> 1-614-875-2245
>> *********************************************************************
>>
>>
>> _____________________________________________________________
>> Manage your list subscriptions at http://lists.omnis-dev.com
>
> _____________________________________________________________
> Manage your list subscriptions at http://lists.omnis-dev.com
>
> _____________________________________________________________
> Manage your list subscriptions at http://lists.omnis-dev.com
More information about the omnisdev-en
mailing list