This article is a stub. Don't edit it unless you know what you are doing. Don't follow it unless you know what you are doing.
All files required to create a
.mpkg for macOS lie under
macos/. The package is created on macOS with Packages tool, its template is saved under
macos/pkgproj/ckb-next.pkgproj. Appdmg is used to create a virtual disk, its template is saved under
NOTE: as a side effect ckb-next will be installed at your computer. This is due to the fact that a package is currently generated based off of files in the system paths. This might change in the future.
brew install npm brew cask install packages npm install -g appdmg
git clone https://github.com/mattanger/ckb-next.git cd ckb-next cmake -H. -Bbuild -DCMAKE_OSX_DEPLOYMENT_TARGET=10.10 -DCMAKE_BUILD_TYPE=Release -DSAFE_INSTALL=ON -DSAFE_UNINSTALL=ON cmake --build build --target macos-package