[prev in list] [next in list] [prev in thread] [next in thread] 

List:       mono-osx
Subject:    Re: [Mono-osx] El Capitan: App is terminated on double-click, but runs from terminal (open -a app)
From:       Bostjan Sodja <Sodja.Bostjan () pieps ! com>
Date:       2015-11-16 6:37:59
Message-ID: 03FA5068CC148A4F84DC254BC7DDA632181B646B () BDAGEXCHG1 ! ad ! bdel ! com
[Download RAW message or body]

Thanks for temporary fix.
In the mean time I have for El Capitan hardcoded the mono path instead "which" \
command.  And thanks for suggestion where the errors is in first place.

-----Original Message-----
From: mono-osx-bounces@lists.ximian.com [mailto:mono-osx-bounces@lists.ximian.com] On \
                Behalf Of creatorul
Sent: Samstag, 14. November 2015 11:46
To: mono-osx@lists.ximian.com
Subject: Re: [Mono-osx] El Capitan: App is terminated on double-click, but runs from \
terminal (open -a app)

Since there is no fix yet you can use this temporary fix. After packing with Macpack \
open the app folder and go to /Contents/MacOS and edit the last *if else *from your \
launch script:

> MONO_PATH="/usr/bin/mono"
> 
> cd "$APP_PATH/Contents/Resources"
> 
> if [ "$X11_MODE" -eq "1" ]; then
> 	open-x11 "$APP_NAME"
> else
> 	if [ -f "/usr/local/bin/mono" ]; then MONO_PATH="/usr/local/bin/mono" 
> ; fi
> 	"$MONO_PATH" "$ASSEMBLY"
> fi





--
View this message in context: \
http://mono.1490590.n4.nabble.com/El-Capitan-App-is-terminated-on-double-click-but-runs-from-terminal-open-a-app-tp4666888p4666972.html
 Sent from the Mono - OSX mailing list archive at Nabble.com.
_______________________________________________
Mono-osx mailing list
Mono-osx@lists.ximian.com
http://lists.ximian.com/mailman/listinfo/mono-osx
_______________________________________________
Mono-osx mailing list
Mono-osx@lists.ximian.com
http://lists.ximian.com/mailman/listinfo/mono-osx


[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic