Révision 3493
TXM/trunk/org.txm.setups/shared/mac/Applications/TXM.app/Contents/MacOS/TXM (revision 3493) | ||
---|---|---|
152 | 152 |
echo "TXM: Running TXM for Mac OS X $OSVERSION with the JAR launcher..." |
153 | 153 |
) 1>&3 2>&4 |
154 | 154 |
|
155 |
echo "Starting TXM with --launcher.ini '$DOTTXMHOME/launcher.ini' -configuration '$DOTTXMHOME/configuration' -user '$DOTTXMHOME/user' -install '/Applications/TXM-TXMVERSION.app/Contents/TXM'" |
|
156 |
/Applications/TXM-TXMVERSION.app/Contents/MacOS/launcher -XX:MaxPermSize=256m -XstartOnFirstThread $TXMINIARGSVM -jar "$(echo /Applications/TXM-TXMVERSION.app/Contents/TXM/plugins/org.eclipse.equinox.launcher_*.jar)" -os macosx -ws cocoa -arch x86_64 -showsplash -run --launcher.ini "$DOTTXMHOME/launcher.ini" -configuration "$DOTTXMHOME/configuration" -user "$DOTTXMHOME/user" -install "/Applications/TXM-TXMVERSION.app/Contents/TXM" |
|
155 |
echo "Starting TXM with --launcher.ini '$DOTTXMHOME/launcher.ini' -configuration '$DOTTXMHOME/configuration' -user '$DOTTXMHOME/user' -install '/Applications/TXM-TXMVERSION.app/Contents/TXM'" |
|
156 |
|
|
157 |
/Applications/TXM-TXMVERSION.app/Contents/MacOS/launcher -vm /Applications/TXM-TXMVERSION.app/Contents/TXM/jre/Contents/Home/bin -XX:MaxPermSize=256m -XstartOnFirstThread $TXMINIARGSVM -jar "$(echo /Applications/TXM-TXMVERSION.app/Contents/TXM/plugins/org.eclipse.equinox.launcher_*.jar)" -os macosx -ws cocoa -arch x86_64 -showsplash -run --launcher.ini "$DOTTXMHOME/launcher.ini" -configuration "$DOTTXMHOME/configuration" -user "$DOTTXMHOME/user" -install "/Applications/TXM-TXMVERSION.app/Contents/TXM" |
TXM/trunk/org.txm.setups/shared/mac/INSTALL (revision 3493) | ||
---|---|---|
21 | 21 |
SAY_SETFILERIGHTS=$SAY_SETFILERIGHTS_EN |
22 | 22 |
SAY_DONE=$SAY_DONE_EN |
23 | 23 |
|
24 |
# test if an audio output is available, if not 'say' will hangs |
|
25 |
AUDIODIAG=`system_profiler SPAudioDataType` |
|
26 |
|
|
24 | 27 |
|
25 |
say $SAY_STARTINSTALL |
|
28 |
#say $SAY_STARTINSTALL
|
|
26 | 29 |
echo "** TXM postinstall: start post installation" |
27 | 30 |
TXMINSTALLDIR="/Applications/TXM${VERSION}.app" |
28 | 31 |
|
... | ... | |
37 | 40 |
fi |
38 | 41 |
fi |
39 | 42 |
|
40 |
say $SAY_INSTALLR |
|
43 |
#say $SAY_INSTALLR
|
|
41 | 44 |
if [ ! -d "/usr/local/lib/tcl8" ]; then |
42 | 45 |
installer -pkg "$TXMINSTALLDIR/Contents/TXM/R/tcltk-8.5.5-x11.pkg" -allowUntrusted -target / |
43 | 46 |
if [ $? != 0 ]; then |
... | ... | |
68 | 71 |
echo "Skipping XQuartz installation" |
69 | 72 |
fi |
70 | 73 |
|
71 |
say $SAY_CREATESTAMP |
|
74 |
#say $SAY_CREATESTAMP
|
|
72 | 75 |
echo "** TXM postinstall: create STAMP file" |
73 | 76 |
# Create STAMP |
74 | 77 |
rm "$TXMINSTALLDIR/STAMP" |
... | ... | |
79 | 82 |
exit 1 |
80 | 83 |
fi |
81 | 84 |
|
82 |
say $SAY_SETFILERIGHTS |
|
85 |
#say $SAY_SETFILERIGHTS
|
|
83 | 86 |
echo "** TXM postinstall: set rights" |
84 | 87 |
# Set executable files |
85 | 88 |
chmod +x "$TXMINSTALLDIR"/Contents/TXM/plugins/org.txm.libs.cqp.macosx*/res/macosx/* |
... | ... | |
103 | 106 |
exit 1 |
104 | 107 |
fi |
105 | 108 |
|
106 |
say $SAY_DONE |
|
109 |
#say $SAY_DONE
|
|
107 | 110 |
echo "** TXM postinstall: Done" |
Formats disponibles : Unified diff