Ignore:
Timestamp:
05/17/13 20:27:30 (11 months ago)
Author:
Ales Erjavec <ales.erjavec@…>
Branch:
default
Message:

Changed Orange Canvas startup scripts to launch the new interface.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • install-scripts/mac/bundle-build-hg.sh

    r11528 r11533  
    2222TEMPLATE_VERSION=`curl --silent http://orange.biolab.si/download/bundle-templates/CURRENT.txt` 
    2323curl --silent http://orange.biolab.si/download/bundle-templates/Orange-template-${TEMPLATE_VERSION}.tar.gz | tar -xz -C $WORK_DIR 
    24 #svn export --non-interactive http://orange.biolab.si/svn/orange/externals/trunk/install-scripts/mac/bundle/ $TMP_BUNDLE_DIR 
    2524 
    2625# Make repos dir if it does not yet exist 
     
    2827    mkdir $REPOS_DIR 
    2928fi 
     29 
     30# Create bundle startup script 
     31cat <<-'EOF' > ${TMP_BUNDLE_DIR}/Orange.app/Contents/MacOS/Orange 
     32    #!/bin/bash 
     33 
     34    source `dirname "$0"`/ENV 
     35 
     36    # LaunchServices passes the Carbon process identifier to the application with 
     37    # -psn parameter - we do not want it 
     38    if [[ $1 == -psn_* ]]; then 
     39        shift 1 
     40    fi 
     41 
     42    exec -a "$0" "$PYTHONEXECUTABLE" -m Orange.OrangeCanvas.main "$@" 
     43EOF 
     44 
     45chmod +x ${TMP_BUNDLE_DIR}/Orange.app/Contents/MacOS/Orange 
    3046 
    3147# Python interpreter in the bundle 
Note: See TracChangeset for help on using the changeset viewer.