comparison resources/MacOS/BelaPdBuild.app/Contents/document.wflow @ 204:f6a3b9265e6f

Better better hello-midi. Updated icon and text description for BelaPdBuild.app
author Giulio Moro <giuliomoro@yahoo.it>
date Sat, 06 Feb 2016 05:24:43 +0000
parents b5d59cf94c64
children
comparison
equal deleted inserted replaced
203:b5d59cf94c64 204:f6a3b9265e6f
51 <key>ActionParameters</key> 51 <key>ActionParameters</key>
52 <dict> 52 <dict>
53 <key>source</key> 53 <key>source</key>
54 <string>on run {input, parameters} 54 <string>on run {input, parameters}
55 if input is equal to {} then 55 if input is equal to {} then
56 display alert "Please drag a folder containing your PD patch, with all externals and auxiliary files onto this window to compile it with Heavy." 56 display alert "Please drag a folder containing your PD patch, with all externals and auxiliary files onto the program icon to compile it with Heavy."
57 else 57 else
58 tell application "Terminal" 58 tell application "Terminal"
59 activate 59 activate
60 do script "echo -n -e \"\\033]0;Building Heavy-Pd-Bela\\007\"; export BBB_ADDRESS=\"root@192.168.7.2\"; export BBB_SCRIPTS_PATH=\"$HOME/BeagleRT/scripts/\"; export SCRIPT_NAME=\"build_pd.sh\"; bash -c 'cd \"$BBB_SCRIPTS_PATH\"; ./\"$SCRIPT_NAME\" --watch --force --screen -i " &amp; quoted form of (POSIX path of input) &amp; "'; if [ $? -eq 130 ] ; then osascript -e 'tell application \"Terminal\" to close (every window whose name contains \"Building Heavy-Pd-Bela\")'; fi" 60 do script "echo -n -e \"\\033]0;Building Heavy-Pd-Bela\\007\"; export BBB_ADDRESS=\"root@192.168.7.2\"; export BBB_SCRIPTS_PATH=\"$HOME/BeagleRT/scripts/\"; export SCRIPT_NAME=\"build_pd.sh\"; bash -c 'cd \"$BBB_SCRIPTS_PATH\"; ./\"$SCRIPT_NAME\" --watch --force --screen -i " &amp; quoted form of (POSIX path of input) &amp; "'; if [ $? -eq 130 ] ; then osascript -e 'tell application \"Terminal\" to close (every window whose name contains \"Building Heavy-Pd-Bela\")'; fi"
61 end tell 61 end tell