Commits
8 8 | app_path=$1 |
9 9 | package_name=$2 |
10 10 | |
11 11 | if [ ! -e $app_path ]; then |
12 12 | echo "file $app_path not found..." |
13 13 | exit 1 |
14 14 | fi |
15 15 | |
16 16 | readonly OS_VERSION=$(uname -r | awk -F. '{print $1}') |
17 17 | case $OS_VERSION in |
18 + | "23") |
19 + | readonly OS_X_VERSION="14.0" |
20 + | ;; |
18 21 | "22") |
19 22 | readonly OS_X_VERSION="13.0" |
20 23 | ;; |
21 24 | "21") |
22 25 | readonly OS_X_VERSION="12.0" |
23 26 | ;; |
24 27 | "20") |
25 28 | readonly OS_X_VERSION="11.0" |
26 29 | ;; |
27 30 | "19") |