mirror of
https://github.com/processing/processing4.git
synced 2026-06-16 04:26:26 +02:00
remove "sudo" command from osx build script
This commit is contained in:
+2
-1
@@ -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
|
||||
|
||||
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user