Skip to content

Commit a26af50

Browse files
committed
osx package
1 parent b0300b8 commit a26af50

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

osx/Scripts/postflight

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,6 @@
11
#!/bin/bash
22

3-
su $USER -c 'open -a CAMotics.app'
3+
USER="$(/usr/bin/who | /usr/bin/awk '/console/{print $1; exit}')"
4+
su $USER -c 'open -a /Applications/CAMotics.app'
45

56
exit 0

0 commit comments

Comments
 (0)