Re: Issue: Hiding terminal on app launch
Re: Issue: Hiding terminal on app launch
- Subject: Re: Issue: Hiding terminal on app launch
- From: Stephane Sudre <email@hidden>
- Date: Fri, 08 Jun 2012 13:59:35 +0200
This is not the file you should create an alias for if it's a valid
application bundle. The alias should be on the AppABC "folder".
On Fri, Jun 8, 2012 at 1:52 PM, Mayank Agarwal <email@hidden> wrote:
> Hi Rustam,
>
> This in my app bundle structure, please correct me if something is
> wrong with it.
>
> AppABC------AdobeAir.dmg
> Info.plist
> MAC OS------------AppABC(Unix Executable File)
> Pkginfo
> Resources-----config.plist
> ErrorDialog.nib
>
> AppABC-----------Content----Info.plist
> MainMenu.nic
> Content-------AppABC(Unix Exe File)Creating Alias for
> this file
> NativeInstaller.icns
> pkginfo
>
> Resources---AppDATA
>
>
> I am creating an alias for the file i have marked so.
>
>
>
> Mayank
>
> On Tue, Jun 5, 2012 at 7:37 PM, Rustam Muginov <email@hidden> wrote:
>> Its seems that you only compiled a "binary" but did not created application
>> bundle.
>> Mac OS X GUI applications are not plain files, they are in fact folders
>> (directories) with special structure.
>> You can right-click and application supplied with Mac OS X and choose "View
>> package content" contextual menu to view bundle hierarchy.
>> You can read about bundles more at:
>>
>> https://developer.apple.com/library/mac/#documentation/CoreFoundation/Conceptual/CFBundles/Introduction/Introduction.html
>>
>> P.S. And please, do not use "all uppercase" phrases.
>> --
>> Sincerely,
>> Rustam Muginov
>>
>> On Jun 5, 2012, at 4:41 AM, Mayank Agarwal wrote:
>>
>> Hi Everyone,
>>
>> I am facing this issue for long time, so i thought to post it here.
>>
>> Problem: When I double click and launch my application a terminal window
>> opens
>> every time and if I try to close the Terminal my application is also killed.
>>
>> 1. I have developed an application in Flex. Exported it to a .dmg file.
>> 2. After that I used "Package Creator" to make a installer for my
>> application.
>> 3. Now, using this installer I install the application.
>> 4. Icon is created on Desktop.
>> 5. When i click this Icon to open my application a Terminal window launches,
>> and then my application.
>>
>> So, I want to hide this terminal window.
>> I read somewhere that this terminal window is shown because "Mac binaries
>> are set to be opened with the 'Terminal' program".
>> And it is like application is executing in that terminal, i.e Terminal is
>> Parent process of application.
>>
>> Requirement: When i launch my application the terminal window should not
>> appear.
>>
>>
>> IS THERE ANY WAY TO ACHIEVE THIS, by shell script, apple script or any other
>> way?
>>
>>
>> Thanks.
>> Mayank Agarwal
>> _______________________________________________
>> Do not post admin requests to the list. They will be ignored.
>> Installer-dev mailing list (email@hidden)
>> Help/Unsubscribe/Update your Subscription:
>>
>> This email sent to email@hidden
>>
>>
>
> _______________________________________________
> Do not post admin requests to the list. They will be ignored.
> Installer-dev mailing list (email@hidden)
> Help/Unsubscribe/Update your Subscription:
>
> This email sent to email@hidden
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Installer-dev mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden