From 0cc89eb33a7210af8e1a5db3cc44a2cb56eabc4e Mon Sep 17 00:00:00 2001 From: Daid Date: Fri, 12 Oct 2012 11:45:29 +0200 Subject: [PATCH] Starting to create a Cura.app for MacOS --- scripts/linux/pronterface.sh | 17 ---------------- scripts/osx64/Cura.app/Contents/Info.plist | 20 +++++++++++++++++++ .../Contents/MacOS/Cura} | 0 scripts/osx64/Cura.app/Contents/PkgInfo | 1 + scripts/osx64/pronterface.command | 19 ------------------ 5 files changed, 21 insertions(+), 36 deletions(-) delete mode 100644 scripts/linux/pronterface.sh create mode 100644 scripts/osx64/Cura.app/Contents/Info.plist rename scripts/osx64/{cura.command => Cura.app/Contents/MacOS/Cura} (100%) create mode 100644 scripts/osx64/Cura.app/Contents/PkgInfo delete mode 100755 scripts/osx64/pronterface.command diff --git a/scripts/linux/pronterface.sh b/scripts/linux/pronterface.sh deleted file mode 100644 index 68d3c0d..0000000 --- a/scripts/linux/pronterface.sh +++ /dev/null @@ -1,17 +0,0 @@ -#!/bin/bash - -python -c 'import wx' -if [ $? != 0 ]; then - echo "Requires wx python." - exit 1 -fi - -python -c 'import serial' -if [ $? != 0 ]; then - echo "Requires pyserial." - exit 1 -fi - -SCRIPT_DIR=`dirname $0` -python ${SCRIPT_DIR}/Printrun/pronterface.py - diff --git a/scripts/osx64/Cura.app/Contents/Info.plist b/scripts/osx64/Cura.app/Contents/Info.plist new file mode 100644 index 0000000..2d3f6f1 --- /dev/null +++ b/scripts/osx64/Cura.app/Contents/Info.plist @@ -0,0 +1,20 @@ + + + + + CFBundleName + Cura + CFBundleDisplayName + Cura 12.10 + CFBundleIdentifer + daid.cura + CFBundleVersion + 12.10 + CFBundlePackageType + APPL + CFBundleSignature + ???? + CFBundleExecutable + Cura + + diff --git a/scripts/osx64/cura.command b/scripts/osx64/Cura.app/Contents/MacOS/Cura similarity index 100% rename from scripts/osx64/cura.command rename to scripts/osx64/Cura.app/Contents/MacOS/Cura diff --git a/scripts/osx64/Cura.app/Contents/PkgInfo b/scripts/osx64/Cura.app/Contents/PkgInfo new file mode 100644 index 0000000..bd04210 --- /dev/null +++ b/scripts/osx64/Cura.app/Contents/PkgInfo @@ -0,0 +1 @@ +APPL???? \ No newline at end of file diff --git a/scripts/osx64/pronterface.command b/scripts/osx64/pronterface.command deleted file mode 100755 index 86e7c29..0000000 --- a/scripts/osx64/pronterface.command +++ /dev/null @@ -1,19 +0,0 @@ -#!/bin/bash - -python -c 'import wx' -if [ $? != 0 ]; then - echo "Requires wx. Download and install (the Cocoa/64-bit variant) from:" - echo " http://www.wxpython.org/download.php" - exit 1 -fi - -python -c 'import serial' -if [ $? != 0 ]; then - echo "Requires pyserial." - echo " sudo easy_install pyserial" - exit 1 -fi - -SCRIPT_DIR=`dirname $0` -python ${SCRIPT_DIR}/Printrun/pronterface.py -