Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/Ultimaker/Cura.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDaid <daid303@gmail.com>2012-10-12 13:45:29 +0400
committerDaid <daid303@gmail.com>2012-10-12 13:45:29 +0400
commit0cc89eb33a7210af8e1a5db3cc44a2cb56eabc4e (patch)
tree07b87a8011b29cb9036c55c025cdbcd49f789624 /scripts
parent4e19d7abface38120fbaf734a7f4493879de6329 (diff)
Starting to create a Cura.app for MacOS
Diffstat (limited to 'scripts')
-rw-r--r--scripts/linux/pronterface.sh17
-rw-r--r--scripts/osx64/Cura.app/Contents/Info.plist20
-rwxr-xr-xscripts/osx64/Cura.app/Contents/MacOS/Cura (renamed from scripts/osx64/cura.command)0
-rw-r--r--scripts/osx64/Cura.app/Contents/PkgInfo1
-rwxr-xr-xscripts/osx64/pronterface.command19
5 files changed, 21 insertions, 36 deletions
diff --git a/scripts/linux/pronterface.sh b/scripts/linux/pronterface.sh
deleted file mode 100644
index 68d3c0d02d..0000000000
--- 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 0000000000..2d3f6f1e00
--- /dev/null
+++ b/scripts/osx64/Cura.app/Contents/Info.plist
@@ -0,0 +1,20 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE plist PUBLIC "-//Apple Computer//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
+<plist version="1.0">
+<dict>
+ <key>CFBundleName</key>
+ <string>Cura</string>
+ <key>CFBundleDisplayName</key>
+ <string>Cura 12.10</string>
+ <key>CFBundleIdentifer</key>
+ <string>daid.cura</string>
+ <key>CFBundleVersion</key>
+ <string>12.10</string>
+ <key>CFBundlePackageType</key>
+ <string>APPL</string>
+ <key>CFBundleSignature</key>
+ <string>????</string>
+ <key>CFBundleExecutable</key>
+ <string>Cura</string>
+</dict>
+</plist>
diff --git a/scripts/osx64/cura.command b/scripts/osx64/Cura.app/Contents/MacOS/Cura
index a967e82e78..a967e82e78 100755
--- a/scripts/osx64/cura.command
+++ b/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 0000000000..bd04210fb4
--- /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 86e7c29b25..0000000000
--- 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
-