coredump-messenger
v0.0.4
Published
XPENG Coredump Messenger by SWInfra Team
Downloads
1
Readme
dev
env
- nodejs
- yarn
- git (required by electron-forge)
- dpkg, fakeroot (for deb installer)
- rpm (for rpm installer)
ubuntu 23.04:
npm install -g yarn
develop
ELECTRON_MIRROR="https://npmmirror.com/mirrors/electron/"
yarn
yarn start
pacakge
yarn pacakge
yarn package -h
yarn package -p linux
build
Container
setup alias
echo "alias coreview-builder='docker run --net=host --rm -it -u \$(id -u):\$(id -g) -v \$PWD:\$PWD -w \$PWD -v \$HOME/.cache:/home/builder/.cache coreview-builder'" >> ~/.bashrc
source ~/.bashrc
run in root path of coreview project:
# fetching dependencies
coreview-builder
# make deb/rpm installer
coreview-builder make
Local
install requirement ubuntu 23.04
# for deb
apt install -y dpkg fakeroot
# for rpm
apt install -y rpm binutils
build release assets:
yarn make
yarn make -h
yarn make -a arm64 -p linux --targets @electron-forge/maker-deb
coredump
mac
setup system to generate coredump
sudo mkdir -p /cores
sudo chmod 1777 /cores
sudo launchctl limit core unlimited
reboot