From 39b29e6c707ca9b2b56f970d85842f530f32373d Mon Sep 17 00:00:00 2001 From: benfry Date: Mon, 15 Oct 2007 00:46:42 +0000 Subject: [PATCH] remove "sudo" command from osx build script --- build/macosx/mkdmg | 3 ++- todo.txt | 13 +++++++------ 2 files changed, 9 insertions(+), 7 deletions(-) diff --git a/build/macosx/mkdmg b/build/macosx/mkdmg index 977a22139..b9ab8d6a5 100755 --- a/build/macosx/mkdmg +++ b/build/macosx/mkdmg @@ -63,7 +63,8 @@ fi DEVMASTER=`echo $DEVICES| awk '{ print $1 }'` DEVHFS=`echo $DEVICES| awk '{ print $5 }'` echo Copying $FOLDER to /Volumes/$NAME on $DEVMASTER -sudo ditto -rsrcFork "$FOLDER" "/Volumes/$NAME" +#sudo ditto -rsrcFork "$FOLDER" "/Volumes/$NAME" +ditto -rsrcFork "$FOLDER" "/Volumes/$NAME" if [ $? -ne 0 ]; then hdiutil eject $DEVMASTER rm -f $TMPFILE diff --git a/todo.txt b/todo.txt index 7fae78f35..bafae56da 100644 --- a/todo.txt +++ b/todo.txt @@ -1,5 +1,12 @@ 0128 pde +X fix macosx dist script to not require root password +X was just a matter of not using sudo to write the image +o hdiutil create -size 5m -fs HFS+ -volname Fooble foo +o To mount the disk-image, without having it appear in the Finder: +o hdiutil attach -nobrowse foo.dmg +o The main advantage is that these don't require root privileges + _ change to jdk14 imports rather than 11 and 12 for preproc _ auto-delete of sketches might be dangerous @@ -49,12 +56,6 @@ _ make editor buttons light up and clear properly _ inside sketch.java, don't hardwire the file extension types _ arduino uses .c, .cpp, .h instead of .java -_ fix macosx dist script to not require root password - hdiutil create -size 5m -fs HFS+ -volname Fooble foo -To mount the disk-image, without having it appear in the Finder: - hdiutil attach -nobrowse foo.dmg -The main advantage is that these don't require root privileges - _ don't bug the user about new release of p5 when they have it _ add prefs option for "latest version run" _ something also to track--people going to older releases