From 8e87b2626cdd81c128ac0cb5db03350aff67feac Mon Sep 17 00:00:00 2001 From: Keith Packard Date: Fri, 5 Oct 2018 19:36:20 -0700 Subject: 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 --- altosui/install-macosx | 9 +++++++++ 1 file changed, 9 insertions(+) create mode 100755 altosui/install-macosx (limited to 'altosui/install-macosx') 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 * -- cgit v1.2.3