Skip to content

Commit a24432f

Browse files
committed
Improve scripts on macOS and update UVKBuildTool with new macOS custom installs support
1 parent 8a6e02c commit a24432f

File tree

3 files changed

+4
-3
lines changed

3 files changed

+4
-3
lines changed

create-project.sh

+1
Original file line numberDiff line numberDiff line change
@@ -47,6 +47,7 @@ version: \"1.0.0.0\"
4747
engine-version: \"1.0.0.0\"
4848
build-mode-static: false
4949
build-mode-vendor: true
50+
system-wide: false
5051
enabled-modules:
5152
os: false
5253
dbus: false

export.sh

+2-2
Original file line numberDiff line numberDiff line change
@@ -83,11 +83,11 @@ function cmake_i()
8383
cmake -DUIMGUI_INSTALL=ON "$@" || die_
8484
}
8585

86-
jobs=$(grep -c processor /proc/cpuinfo) || jobs=$(sysctl -n hw.ncpu)
86+
jobs=$(grep -c processor /proc/cpuinfo 2> /dev/null) || jobs=$(sysctl -n hw.ncpu)
8787

8888
real_framework_path=$(realpath Framework)
8989
mv Framework FrameworkSym || die_
90-
cp "${real_framework_path}" . -r || die_
90+
cp -r "${real_framework_path}" . || die_
9191

9292
cd Exported/ || die_
9393

0 commit comments

Comments
 (0)