summaryrefslogtreecommitdiff
path: root/altosui/install-macosx
diff options
context:
space:
mode:
authorKeith Packard <keithp@keithp.com>2018-10-05 19:36:20 -0700
committerKeith Packard <keithp@keithp.com>2018-10-05 19:36:20 -0700
commit8e87b2626cdd81c128ac0cb5db03350aff67feac (patch)
treea5807bc61ac591f6f38db3dd34243fbb0aaafe07 /altosui/install-macosx
parenta477dcbafe942af8f53e57802e228d94b526e13e (diff)
macosx: Ship install-macosx script with all apps.
This script copies all files to ~/Applications/AltOS, then it deletes all xattrs on all files so that OS X will run the java programs. Signed-off-by: Keith Packard <keithp@keithp.com>
Diffstat (limited to 'altosui/install-macosx')
-rwxr-xr-xaltosui/install-macosx9
1 files changed, 9 insertions, 0 deletions
diff --git a/altosui/install-macosx b/altosui/install-macosx
new file mode 100755
index 00000000..aebfd527
--- /dev/null
+++ b/altosui/install-macosx
@@ -0,0 +1,9 @@
+#!/bin/sh
+dir=`dirname "$0"`
+cd "$dir"
+mkdir -p ~/Applications/AltOS
+find ~/Applications/AltOS -type d -print0 | xargs -0 chmod +w
+cp -f -a * ~/Applications/AltOS
+cd ~/Applications/AltOS
+chmod +w *
+xattr -c *